K-Nearest Neighbors (KNN)
machine learningUpdated Oct 25, 2025
Classify whether a person will make a purchase based on Age and Estimated Salary using K-Nearest Neighbors.
Language: PythonLevel: beginner
Learning Objectives
- Implement and train a KNN classifier using Scikit-learn.
- Visualize decision boundaries for the classifier.
- Evaluate model performance metrics such as accuracy, and confusion matrix.
Loading...
thomasuhuru.com
notebooks/knn-classification-in-python.ipynb