Crandore Hub

FastKNN

Fast k-Nearest Neighbors

Compute labels for a test set according to the k-Nearest Neighbors classification. This is a fast way to do k-Nearest Neighbors classification because the distance matrix -between the features of the observations- is an input to the function rather than being calculated in the function itself every time.

Versions across snapshots

VersionRepositoryFileSize
0.0.1 2026-04-09 windows/windows R-4.5 FastKNN_0.0.1.zip 20.8 KiB

Dependencies (latest)

Imports