19 packages tagged with “KNN”
Contains Support Vector Machines, Decision Trees, Naive Bayesian models, K-means, Gaussian Mixture models and general algorithms such as Ransac, Cross-validation and Grid-Search for machine-learning applications. This package is part of the Accord.NET Framework.
C# library for fast approximate nearest neighbours search using Hierarchical Navigable Small World graphs. Fork from original at https://github.com/microsoft/HNSW.Net, adds support for incremental build and MessagePack serialization.
This is an extremely-fast and easy to use KDTree written entirely in modern C#. This is the fastest and simplest to use KDTree that I have been able to find for .NET. The project has thorough documentation and is open-source. This module is a part of the larger Supercluster project. Tutorials and Wiki: https://github.com/MathFerret1013/Supercluster.KDTree/wiki MSDN Style Docs: http://mathferret1013.github.io/Supercluster.KDTree GitHub: https://github.com/MathFerret1013/Supercluster.KDTree
Vektonn implementation
Dotnet wrapper over faisslib vector store (see https://github.com/facebookresearch/faiss). Currently only available for Windows x64. (Support for other platforms is possible).
A library for efficient similarity search of dense and sparse vectors
Package Description
HNSWIndex provides a high-performance, approximate nearest-neighbor search solution using the HNSW data structure. It supports custom distance metrics, efficient searching with concurrency, and configurable parameters to balance speed, recall, and memory usage. Perfect for .NET applications that require fast similarity lookups (e.g., image retrieval, recommendation systems, or vector-based search).
SpaceHosting implementation
HNSW provides a high-performance, approximate nearest-neighbor search solution using the HNSW data structure. It supports custom distance metrics, efficient searching with concurrency, and configurable parameters to balance speed, recall, and memory usage. Perfect for .NET applications that require fast similarity lookups (e.g., image retrieval, recommendation systems, or vector-based search).
Non-Metric Space Library (NMSLIB): An efficient similarity search library and a toolkit for evaluation of k-NN methods for generic non-metric spaces.
Weaviate vector adapter for Sora: schema ensure, KNN search, filter pushdown via AST→GraphQL translator, and health checks.
Weaviate vector adapter for Koan: schema ensure, KNN search, filter pushdown via AST→GraphQL translator, and health checks.