Artificial Corner

Artificial Corner

Behind AI 🤖

Behind AI #5: Machine Learning Algorithms Any AI Enthusiast Should Know - Part 2

Machine learning algorithms explained in plain English

Kevin Gargate Osorio's avatar
Frank Andrade's avatar
Kevin Gargate Osorio and Frank Andrade
Sep 18, 2024
∙ Paid
Image made with DALL-E 3

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…

User's avatar

Continue reading this post for free, courtesy of Frank Andrade.

Or purchase a paid subscription.
© 2026 Frank Andrade · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture