Machine Learning with K-Nearest Neighbors

with Hristina Hristova

Introducing you to the exciting topic of machine learning with the K-nearest neighbors algorithm using Python’s scikit-learn library.

2 hours 17 lessons
Start course
17 High Quality Lessons
3 Practical Tasks
2 Hours of Content
Certificate of Achievement

Course Overview

Practical knowledge of various machine learning algorithms is essential for machine learning enthusiasts and experts alike. In this course, we focus extensively on one of the most intuitive and easy-to-implement ML algorithms out there – K-nearest neighbors, or KNN for short. Step by step, we will first lay the foundations and expand your mathematical toolbox. Then, you will progress to coding and using Python’s scikit-learn library to solve a randomly generated classification problem. Finally, you will apply KNN to a couple of regression tasks. In other words – you will learn all the subtleties that should be considered when applying the KNN algorithm in your future practice.

Topics covered

machine learningMathematicsProgrammingPythonTheory

What You'll Learn

Aiming to upgrade your machine learning skills? This course will help you:

Get acquainted with different distance metrics
Grasp the working of the KNN algorithm
Generate random datasets
Use scikit-learn’s KNN algorithms
Construct decision boundaries
Understand the pros and cons of the KNN algorithm


Student feedback


352 ratings
5 stars
300 (85%)
4 stars
42 (12%)
3 stars
8 (2%)
2 stars
2 (1%)
1 star
0 (0%)
Filter by rating
  • 5 stars
  • 4 stars
  • 3 stars
  • 2 stars
  • 1 stars
  • Newest
  • Oldest
This instructor was Exceptional!!! She has a very good understanding of the material and is blessed to with the gift of explaining the material in such a way that allows you to learn and understand. Her teaching methods are spot on and she explains everything in a clear concise manner. Thank You.
This course has amazing visualizations while teaching, that I have never seen like this before! This is one of the very exciting experiences I ever had. I hope every other course of "365datascience" would be like this...!
Lots of practical examples, just the way I like it. Really like these fast machine learning courses that first give you enough theoretical understanding and then goes straight into coding
I love the explanations with the real world examples. It makes everything easier to understand. The course is good for beginners and gives a solid foundation and understanding of KNN.
Great explanation and most parts of the course stick with Coding that was truly great just expect some more about Algo too but nevertheless great overall
  • 1
  • 2
  • 3
  • ...
  • 6
  • ...
  • 11
Hristina Hristova

“KNN is an essential step in the development of every machine learning practitioner. It serves as a perfect example of a rather simple algorithm performing incredibly well and allowing for diverse practical applications. Moreover, it is great fun to visually compare the results from different KNN models on the same dataset.”

Hristina Hristova

Content Creator at 365 Data Science

Machine Learning with K-Nearest Neighbors

with Hristina Hristova

Start Course