Skip to content

dann

Discriminant Adaptive Nearest Neighbor Classification

v1.0.2 · Apr 12, 2025 · MIT + file LICENSE

Description

Discriminant Adaptive Nearest Neighbor Classification is a variation of k nearest neighbors where the shape of the neighborhood is data driven. This package implements dann and sub_dann from Hastie (1996) <https://web.stanford.edu/~hastie/Papers/dann_IEEE.pdf>.

Downloads

302

Last 30 days

13347th

880

Last 90 days

3.6K

Last year

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

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 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 History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies MASS tibble ggplot2 stringr purrr rlang (>= 1.0.0) fpc Rcpp hardhat tidydann dann

Version History

new 1.0.2 Mar 10, 2026
updated 1.0.2 ← 1.0.0 diff Apr 11, 2025
updated 1.0.0 ← 0.2.6 diff Sep 22, 2023
updated 0.2.6 ← 0.2.2 diff Feb 13, 2022
updated 0.2.2 ← 0.2.1 diff Feb 19, 2021
updated 0.2.1 ← 0.2.0 diff Oct 7, 2020
updated 0.2.0 ← 0.1.0 diff Mar 13, 2020
new 0.1.0 Dec 9, 2019