Fast k-Nearest Neighbors
1packages dependsuggested by 2
4Kdownloads / year
–test coverage
11/13flavors OK
Overview
About
Maintained by Gaston BesansonCRAN page ↗
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.
Install
Health
CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
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.Slowest check: 46 s · r-oldrel-windows-x86_64
Status changes
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Advisories
Documentation
In release 0.0.1
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
- Help pages
- 4
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 25%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
4K
CRAN downloads in the past year
Rank #11,015 · ~11/day · ~331/mo
Daily download trend is not available in this view yet.
26430 days
96490 days
4K1 year
Also on88 r2u4 autocran
Dependencies
Declared dependencies
2 external dependencies (excludes base and recommended)
Installing FastKNN adds 2 packages (1 with compiled code, 16 KB of source tarballs). Heaviest: assertthat 12 KB, pdist 4.4 KB.
Depends (0)
none
Imports (2)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first
Code & Tests
People & History
Releases (1)
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 0.0.1Latest2015-02-12 · current release
- RR 3.1.0 released · 2014-04-10
0 of 2 selectedCompare selected
Package metadata
- First published
- 2015-02-12
- Total releases
- 1 / 11 yrs
- License
- GPL-3 OSI
- Download size
- 2.7 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("FastKNN")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.