Registry / other / ltla-knncolle

ltla-knncolle

JSON →
library2023-05-09vcpkgunverified

Collection of KNN algorithms in C++

vcpkg install ltla-knncolle
INSTALL
IMPORT
SIG · LTLA-KNNCOLLE
L
ltla-knncolle
othercppv2023-05-09
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

knncolle/knncolle.hpp
#include <knncolle/knncolle.hpp>

Build a KNN index and query nearest neighbors

#include <knncolle/knncolle.hpp> #include <vector> int main() { std::vector<double> data = {1.0, 2.0, 3.0, 4.0}; auto index = knncolle::build_index(2, 2, data.data()); auto results = index->find_nearest_neighbors(data.data(), 1); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2023-05-09latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

ltla-knncolle — pip install ltla-knncolle · libregistry