May 1, 2024
Updated May 11, 2025
41 minute read
K-Nearest Neighbors, often abbreviated as KNN, is a foundational algorithm in the world of machine learning. At its core, KNN operates on the simple idea that similar things exist in close proximity. In other words, data points that are alike will tend to be near each other in a given space. This algorithm can be used to classify new, unseen data points based on the "company they keep" or to predict a value based on the values of their closest neighbors. It's a type of "lazy learning" because it doesn't build a model beforehand; instead, it stores the entire training dataset and performs calculations only when a prediction is needed.
2rofto|
Find a path to becoming a K-Nearest Neighbors. Learn more at:
OpenCourser.com/topic/2rofto/k
Reading list
We've selected 13 books
that we think will supplement your
learning. Use these to
develop background knowledge, enrich your coursework, and gain a
deeper understanding of the topics covered in
K-Nearest Neighbors.
This foundational text in the field of statistical learning, covering a wide range of topics including KNN. It provides a rigorous treatment of the theoretical underpinnings of machine learning algorithms. While mathematically demanding, it is an invaluable reference for those seeking a deep understanding.
A comprehensive introduction to pattern recognition and machine learning, with a strong emphasis on a probabilistic perspective. KNN is discussed within this framework. widely-used textbook for advanced undergraduates and graduate students and serves as an excellent reference.
A comprehensive and advanced text that takes a probabilistic approach to machine learning. KNN is discussed within this broader framework. is suitable for graduate students and researchers due to its depth and mathematical rigor.
Provides a broad introduction to the field of machine learning, covering various algorithms including KNN. It aims to make the fundamentals accessible to students with a background in computer programming, probability, calculus, and linear algebra. It is often used as a textbook.
Provides a theoretical foundation for machine learning algorithms, including KNN. It delves into the principles and mathematical derivations. It is geared towards advanced undergraduates and graduate students seeking a deeper theoretical understanding.
Covers a wide range of machine learning topics and algorithms, with implementations in Python using libraries like scikit-learn. It includes a discussion of KNN and provides practical examples for applying it to real-world problems.
Focuses on the process of building predictive models, including the use of KNN. It provides practical guidance on data preprocessing, model building, and evaluation. It's a valuable resource for practitioners and those interested in applied machine learning.
Covers data mining techniques with a focus on practical tools and methods, including KNN. It provides a good balance of concepts and practical implementation using the Weka software. Useful for understanding the application of KNN in data mining tasks.
Provides a rigorous and in-depth theoretical treatment of nearest neighbor methods, including KNN. It covers statistical, probabilistic, combinatorial, and geometric aspects. It specialized text suitable for researchers and those focusing specifically on the theoretical underpinnings of KNN.
This textbook is designed for engineering students and provides an introduction to machine learning concepts, including a section on KNN. It aims to make the material accessible and relevant for an engineering audience.
Provides hands-on implementations of machine learning algorithms, including KNN, in Python. It focuses on building a practical understanding by working through code examples. Suitable for those who learn best by doing.
Focuses on the engineering aspects of building and deploying machine learning systems. While not solely about KNN, it provides valuable context on how algorithms like KNN are used in production systems and the challenges involved. Relevant for professionals.
Is the foundational text on reinforcement learning. While not directly about KNN, it covers fundamental concepts in machine learning and provides a different perspective on learning algorithms that can be valuable for a well-rounded understanding of the field.
For more information about how these books relate to this course, visit:
OpenCourser.com/topic/2rofto/k