{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/2"},{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering"}],"enrichment":{"capability":"PyNNDescent builds approximate nearest neighbor search indexes using nearest neighbor descent algorithms, supporting a wide variety of distance metrics for fast k-neighbor queries on high-dimensional data.","skillfed_tags":["approximate-search","knn-indexing","distance-metrics"],"use_cases":["Build a searchable index for similarity-based recommendation systems or content retrieval","Perform fast approximate k-nearest neighbor queries on high-dimensional embeddings or feature vectors","Integrate nearest neighbor search into scikit-learn pipelines as a preprocessing or feature transformation step","Find similar items across different distance metrics (e.g., cosine for text embeddings, euclidean for image features)","Construct k-neighbor graphs for clustering, graph-based learning, or dimensionality reduction algorithms"],"what_it_does":"PyNNDescent is a Python library for building approximate nearest neighbor (ANN) search indexes using the nearest neighbor descent algorithm, supplemented with random projection trees for initialization. It supports a large variety of distance metrics including euclidean, manhattan, cosine, hamming, wasserstein, and many others, as well as custom user-defined metrics.\n\nThe library provides a simple two-operation interface: construct an index from training data, then query it for the k nearest neighbors of new points. It integrates with scikit-learn and can serve as a drop-in replacement for KNeighborTransformer in algorithms that use nearest neighbor computations. The implementation relies on numba for JIT compilation and joblib for parallelization.","worth_installing":"Yes. PyNNDescent is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive BSD-2-Clause license. It solves a well-defined problem with broad metric support and scikit-learn integration. Suitable for production use in recommendation systems, similarity search, and machine learning pipelines."},"id":"pynndescent","links":{"html":"https://skillfed.io/packages/pynndescent","md":"https://skillfed.io/packages/pynndescent.md","pypi":"https://pypi.org/project/pynndescent/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-01-08","license_spdx":"BSD-2-Clause","license_treatment":"permissive","name":"pynndescent","python_support":"unspecified","summary":"Nearest Neighbor Descent"},"popularity":{"monthly_downloads":6964792,"position":1804,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.6.0"}
