Behind AI #5: Machine Learning Algorithms Any AI Enthusiast Should Know - Part 2
Machine learning algorithms explained in plain English
In this second part, we will continue exploring how some algorithms used in Machine Learning work. As we discussed in the first part, there are both supervised and unsupervised algorithms.
Let’s see 6 more algorithms you should know.
1.K-Nearest Neighbors (kNN)
KNN algorithm is a supervised learning technique used for both classification and regression. It’s a simple yet practical method for making predictions. The goal is to find the "k" nearest observations in the feature space and make a decision based on the labels of these neighbors.
Let's break down the key concepts to get a better understanding of how this algorithm works:
The value of "k" is an integer that defines how many neighboring points will be considered.
Distance: To measure how close two points are, a distance metric is usually used. The most common is Euclidean distance, though others like Manhattan, Minkowski, and more can also be applied.
If we use it for classification, the new point is assigned t…




