TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Methods/k-NN

k-NN

k-Nearest Neighbors

GeneralIntroduced 2000192 papers

Description

kkk-Nearest Neighbors is a clustering-based algorithm for classification and regression. It is a a type of instance-based learning as it does not attempt to construct a general internal model, but simply stores instances of the training data. Prediction is computed from a simple majority vote of the nearest neighbors of each point: a query point is assigned the data class which has the most representatives within the nearest neighbors of the point.

Source of Description and Image: scikit-learn

Papers Using This Method

Feature-Guided Neighbor Selection for Non-Expert Evaluation of Model Predictions2025-07-08When Simple Model Just Works: Is Network Traffic Classification in Crisis?2025-06-10Nearness of Neighbors Attention for Regression in Supervised Finetuning2025-06-09General Feature Extraction In SAR Target Classification: A Contrastive Learning Approach Across Sensor Types2025-02-03Killing it with Zero-Shot: Adversarially Robust Novelty Detection2025-01-25Practical machine learning is learning on small samples2025-01-03Sound Classification of Four Insect Classes2024-12-16WaKA: Data Attribution using K-Nearest Neighbors and Membership Privacy Principles2024-11-02KNN Transformer with Pyramid Prompts for Few-Shot Learning2024-10-14Improving Numerical Stability of Normalized Mutual Information Estimator on High Dimensions2024-10-10Local-to-Global Self-Supervised Representation Learning for Diabetic Retinopathy Grading2024-10-01Enriched Functional Tree-Based Classifiers: A Novel Approach Leveraging Derivatives and Geometric Features2024-09-26Pushing the Limits of Vision-Language Models in Remote Sensing without Human Annotations2024-09-11Optimizing CLIP Models for Image Retrieval with Maintained Joint-Embedding Alignment2024-09-03Unsupervised Transfer Learning via Adversarial Contrastive Training2024-08-16Whitening Consistently Improves Self-Supervised Learning2024-08-14CNN-JEPA: Self-Supervised Pretraining Convolutional Neural Networks Using Joint Embedding Predictive Architecture2024-08-14Guiding Sentiment Analysis with Hierarchical Text Clustering: Analyzing the German X/Twitter Discourse on Face Masks in the 2020 COVID-19 Pandemic2024-08-01Enhancing OOD Detection Using Latent Diffusion2024-06-24Learning from String Sequences2024-05-10