About 67,700 results
Open links in new tab
  1. K-Nearest Neighbor (KNN) Algorithm - GeeksforGeeks

    Feb 7, 2026 · When you want to classify a data point into a category like spam or not spam, the KNN algorithm looks at the K closest points in the dataset. These closest points are called neighbors.

  2. k-nearest neighbors algorithm - Wikipedia

    ^ a b Mirkes, Evgeny M.; KNN and Potential Energy: applet Archived 2012-01-19 at the Wayback Machine, University of Leicester, 2011 ^ Ramaswamy, Sridhar; Rastogi, Rajeev; Shim, Kyuseok …

  3. What is the k-nearest neighbors (KNN) algorithm? - IBM

    The k-nearest neighbors (KNN) algorithm is a non-parametric, supervised learning classifier, which uses proximity to make classifications or predictions about the grouping of an individual data point.

  4. K-Nearest Neighbors (KNN) in Machine Learning

    Learn about K-Nearest Neighbors (KNN) algorithm in machine learning, its working principles, applications, and how to implement it effectively.

  5. Python Machine Learning - K-nearest neighbors (KNN) - W3Schools

    KNN is a simple, supervised machine learning (ML) algorithm that can be used for classification or regression tasks - and is also frequently used in missing value imputation.

  6. KNeighborsClassifier — scikit-learn 1.8.0 documentation

    This means that knn.fit(X, y).score(None, y) implicitly performs a leave-one-out cross-validation procedure and is equivalent to cross_val_score(knn, X, y, cv=LeaveOneOut()) but typically much faster.

  7. KNN Algorithm – K-Nearest Neighbors Classifiers and Model Example

    January 25, 2023 / #algorithms KNN Algorithm – K-Nearest Neighbors Classifiers and Model Example Ihechikara Abba

  8. What Is a K-Nearest Neighbor Algorithm? | Built In

    May 22, 2025 · K-nearest neighbor (KNN) is a non-parametric, supervised machine learning algorithm that classifies a new data point based on the classifications of its closest neighbors, and is used for …

  9. Enhancing K-nearest neighbor algorithm: a comprehensive ... - Springer

    Aug 11, 2024 · This paper presents a comprehensive review and performance analysis of modifications made to enhance the exact kNN techniques, particularly focusing on kNN Search and kNN Join for …

  10. Guide to the K-Nearest Neighbors Algorithm in Python and Scikit-Learn

    Nov 16, 2023 · KNN uses previously labeled data, which makes it a supervised learning algorithm. KNN is extremely easy to implement in its most basic form, and yet performs quite complex classification, …