Skip to content

FastKNN

Fast k-Nearest Neighbors

v0.0.1 · Feb 12, 2015 · GPL-3

Description

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.

Downloads

CRAN

321

Last 30 days

12290th

904

Last 90 days

4.5K

Last year

Trend: +29.4% (30d vs prior 30d)

r2u CRAN

10

Last 30 days

26

Last 90 days

106

Last year

Trend: -28.6% (30d vs prior 30d)

autoCRAN

1

Last 7 days

4

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Gaston Besanson <besanson@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Gaston",
                    family = "Besanson",
                    role = c("aut", "cre"),
                    email = "besanson@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Gaston Besanson <besanson@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Gaston",
                    family = "Besanson",
                    role = c("aut", "cre"),
                    email = "besanson@gmail.com")
as necessary.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Gaston Besanson <besanson@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Gaston",
                    family = "Besanson",
                    role = c("aut", "cre"),
                    email = "besanson@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Gaston Besanson <besanson@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Gaston",
                    family = "Besanson",
                    role = c("aut", "cre"),
                    email = "besanson@gmail.com")
as necessary.

Reverse Dependencies (3)

imports

Dependency Network

Dependencies Reverse dependencies pdist assertthat GGoutlieR DRquality ProjectionBasedClustering FastKNN

Version History

1 tracked
new 0.0.1 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Feb 12, 2015. Releases before tracking aren’t shown.