dann: Discriminant Adaptive Nearest Neighbor Classification
Discriminant Adaptive Nearest Neighbor Classification is a
variation of k nearest neighbors where the shape of the neighborhood is
data driven. The neighborhood is elongated along class boundaries and
shrunk in the orthogonal direction. This package implements dann and
sub_dann from Hastie (1996)
<https://web.stanford.edu/~hastie/Papers/dann_IEEE.pdf>.
| Version: |
1.2.0 |
| Imports: |
stats (≥ 3.5.3), tibble (≥ 2.1.1), ggplot2 (≥ 3.1.1), stringr (≥ 1.4.0), rlang (≥ 1.0.0), fpc (≥ 2.1-11.1), Rcpp (≥ 1.0.1), hardhat |
| LinkingTo: |
Rcpp, RcppArmadillo |
| Suggests: |
testthat (≥ 3.0.0), rmarkdown (≥ 1.18), mlbench (≥ 2.1-1), dplyr (≥ 0.8.0.1), magrittr (≥ 1.5), recipes |
| Published: |
2026-08-22 |
| DOI: |
10.32614/CRAN.package.dann |
| Author: |
Greg McMahan [aut, cre] |
| Maintainer: |
Greg McMahan <gmcmacran at gmail.com> |
| BugReports: |
https://github.com/gmcmacran/dann/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://github.com/gmcmacran/dann |
| NeedsCompilation: |
yes |
| Materials: |
README, NEWS |
| CRAN checks: |
dann results |
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=dann
to link to this page.