sklearn.neighbors.KNeighborsClassifier, Scikit-learn Developers, 2024 - Official documentation for the KNeighborsClassifier class, detailing its parameters, methods, and usage.
sklearn.preprocessing.StandardScaler, Scikit-learn Developers, 2024 - Official documentation for StandardScaler, which is used for feature standardization, a critical preprocessing step for KNN.
An Introduction to Statistical Learning: With Applications in R, Gareth James, Daniela Witten, Trevor Hastie, and Robert Tibshirani, 2021 (Springer) - A widely respected textbook that covers the theoretical foundations of K-Nearest Neighbors, classification, and related statistical learning concepts.
Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, Aurélien Géron, 2022 (O'Reilly Media) - A practical guide demonstrating how to implement and tune K-Nearest Neighbors using Scikit-learn, including feature scaling and hyperparameter considerations.