Free
CourseMachine Learning: K-Nearest Neighbors
Sharpen your machine learning skills by learning how to prepare, implement, and assess the K-Nearest Neighbors algorithm.
This course includes
This course includes
Skill level
BeginnerTime to complete
Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary3 hoursProjects
1Prerequisites
None
About this course
Continue your Machine Learning journey with Machine Learning: K-Nearest Neighbors (KNN). Learn how to classify unknown data points based on their similarity to other, known, data points. Use distance and proximity to validate your predictions, and get started with classification techniques.
Skills you'll gain
Prepare data for a KNN model
Explain distance and proximity
Implement and assess a KNN model
Syllabus
Classification: K-Nearest Neighbors
K-Nearest Neighbors is a supervised machine learning algorithm for classification. You will implement and test this algorithm on several datasets.
Certificate of completion available with Plus or Pro
Earn a certificate of completion and showcase your accomplishment on your resume or LinkedIn.
Earn a certificate of completion
Show your network you've done the work by earning a certificate of completion for each course or path you finish.- Show proofReceive a certificate that demonstrates you've completed a course or path.
- Build a collectionThe more courses and paths you complete, the more certificates you collect.
- Share with your networkEasily add certificates of completion to your LinkedIn profile to share your accomplishments.
Machine Learning: K-Nearest Neighbors course ratings and reviews
82 ratings
- 5 stars
- 4 stars
- 3 stars
- 2 stars
- 1 star
- The progress I have made since starting to use codecademy is immense! I can study for short periods or long periods at my own convenience - mostly late in the evenings.ChrisCodecademy Learner @ USA
- I felt like I learned months in a week. I love how Codecademy uses learning by practice and gives great challenges to help the learner to understand a new concept and subject.RodrigoCodecademy Learner @ UK
- Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.John-AndrewCodecademy Learner @ USA
Our learners work at
Join over 50 million learners and start Machine Learning: K-Nearest Neighbors today!
Looking for something else?
Related resources
- Article
Normalization: Min-Max and Z-Score Normalization
Learn how to normalize data in machine learning using techniques such as min-max normalization and z-score normalization. - Article
Training Set vs Validation Set vs Test Set
Discover training set vs. validation set vs. test set differences in ML. Learn data splitting best practices for better model performance. - Article
The Machine Learning Process
Learn the general structure of how to approach Machine Learning problems in a methodical way.
Related courses and paths
- Learn to build machine learning models with Python.
- Includes 10 Courses
- With Certificate
- Beginner Friendly.23 hours
- Machine Learning/AI Engineers build end-to-end ML applications and power many of the apps we use every day. They work in Python, Git, & ML.
- Includes 7 Courses
- With Certificate
- Intermediate.50 hours
- Learn everything you need to build a recommender system from scratch.
- Includes 6 Courses
- With Certificate
- Beginner Friendly.28 hours
Browse more topics
- Python4,232,547 learners enrolled
- Data science5,236,246 learners enrolled
- Machine learning790,400 learners enrolled
- Code foundations8,417,512 learners enrolled
- Computer science6,906,900 learners enrolled
- Web development5,645,248 learners enrolled
- For business4,032,953 learners enrolled
- JavaScript3,170,859 learners enrolled
- Data analytics3,136,310 learners enrolled
Unlock additional features with a paid plan
Practice Projects
Guided projects that help you solidify the skills and concepts you're learning.Assessments
Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.Certificate of Completion
Earn a document to prove you've completed a course or path that you can share with your network.







