What is K-Nearest Neighbours?
K-Nearest Neighbours (KNN) is a simple and intuitive supervised machine learning algorithm that makes predictions based on how similar things are to each oth...
🔥 Related Trending Topics
LIVE TRENDSThis video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!
THIS VIDEO IS TRENDING!
This video is currently trending in Thailand under the topic 'สภาพอากาศ'.
About this video
K-Nearest Neighbours (KNN) is a simple and intuitive supervised machine learning algorithm that makes predictions based on how similar things are to each other.
They can be used for classification and regression.
Imagine you have a scatter plot with red and blue points, where red points represent one class and blue points represent another class. Now, let's say you get a new data point you haven't seen before, and want to know if it should be red or blue.
KNN looks at the "K" closest points (a hyperparameter that you set) to this new one — say, the 3 nearest points.
If 2 out of those 3 are red and 1 is blue, the new point is classified as red. It's like asking your closest neighbors what they are and choosing the majority answer. Although simple, KNN performs surprisingly well based on the principle of proximity.
C: visually explained
Join our Al community for more posts like this @Giffah_Alexander
#machinelearning #statistics #mathematics #math #physics #computerscience #coding #science #education #datascience #knn
Video Information
Views
2.6K
Total views since publication
Likes
77
User likes and reactions
Duration
0:57
Video length
Published
Jul 29, 2025
Release date
Quality
hd
Video definition