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

    Dec 23, 2025 · Thе K-Nearest Neighbors (KNN) algorithm operates on the principle of similarity where it predicts the label or value of a new data point by considering the labels or values of its K nearest …

  2. k-nearest neighbors algorithm - Wikipedia

    An object is classified by a plurality vote of its neighbors, with the object being assigned to the class most common among its k nearest neighbors (k is a positive integer, typically small).

  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. 1.6. Nearest Neighbors — scikit-learn 1.8.0 documentation

    NearestNeighbors implements unsupervised nearest neighbors learning. It acts as a uniform interface to three different nearest neighbors algorithms: BallTree, KDTree, and a brute-force algorithm based on …

  5. A Comprehensive Guide to the K-Nearest Neighbors (k-NN) Algorithm

    Mar 8, 2025 · In the realm of machine learning, k-Nearest Neighbors (k-NN) is often one of the first algorithms that beginners come across. Despite its simplicity, it can be a powerful tool for both...

  6. What is k-Nearest Neighbor (kNN)? | A Comprehensive k-Nearest Neighbor ...

    kNN, or the k-nearest neighbor algorithm, is a machine learning algorithm that uses proximity to compare one data point with a set of data it was trained on and has memorized to make predictions.

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

    May 22, 2025 · Summary: K-nearest neighbor (KNN) is a supervised machine learning algorithm that classifies data points based on the majority class of their closest neighbors. It uses distance metrics …

  8. Nearest-Neighbor Algorithms — Machine Learning - Kevin Moy

    Instead of classification/regression, we use k-d trees to find the k nearest neighbors of a query point. The split feature is now based on factors such as feature width, rather than labels/classes (which no …

  9. K-Nearest Neighbor (KNN) Algorithm: Use Cases and Tips - G2

    Jul 2, 2025 · What it is: KNN is a simple, supervised machine learning algorithm that makes predictions based on the closest labeled data points, relying on distance rather than prior training to classify or …

  10. K-Nearest Neighbors: A Comprehensive Guide

    Jun 10, 2025 · Supervised learning is a type of machine learning where the algorithm is trained on labeled data to make predictions on new, unseen data. K-Nearest Neighbors (KNN) is a popular …