Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

K Nearest Neighbors Python Packages

Python packages with the GitHub topic k-nearest-neighbors. Sorted by monthly downloads, with stars and forks.
jelmerk
pyspark-hnsw

Java library for approximate nearest neighbors search using Hierarchical Navigable Small World graphs

328K 304 60
NGT-labs
ngt

Nearest Neighbor Search with Neighborhood Graph and Tree for High-dimensional Data

4K 1K 134
anish-lakkapragada
sealion

The first machine learning framework that encourages learning ML concepts instead of memorizing class functions.

1K 340 38
nikolas-virionis
spotify-recommender-api

Introducing "spotify-recommender-api", a pip package that uses an adaptation of the KNN algorithm to make personalized song recommendations for users. It analyzes your Spotify listening stats and suggests new tracks you may enjoy, and also clusters similar songs on a big playlist in order to help one find songs that play well in a smaller playlist

1K 6 1
jelmerk
hnswlib-spark

Pyspark module for hnswlib

860 304 60
AmazingDD
daisyrec

Official code for "DaisyRec 2.0: Benchmarking Recommendation for Rigorous Evaluation" (TPAMI2022) and "Are We Evaluating Rigorously? Benchmarking Recommendation for Reproducible Evaluation and Fair Comparison" (RecSys2020)

268 549 82
hora-search
horapy

🚀 efficient approximate nearest neighbor search algorithm collections library written in Rust 🦀 .

209 3K 77
tudor-22
metalml

Metal GPU acceleration for scikit-learn on Mac. Drop-in sklearn API (fit, predict, transform) with Metal kernels and MPS for KMeans, Ridge, PCA, SVMs, kNN, Naive Bayes and random forests, plus automatic CPU fallback. pip install metalml

102 31 6
PhTrempe
sknni

Spherical k-nearest neighbors interpolation

72 6 3
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology