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>.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("dann")

1.3.0 by Greg McMahan, 2 months ago


https://github.com/gmcmacran/dann


Report a bug at https://github.com/gmcmacran/dann/issues


Browse source code at https://github.com/cran/dann


Authors: Greg McMahan [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports stats, tibble, ggplot2, stringr, rlang, fpc, Rcpp, hardhat

Suggests testthat, rmarkdown, mlbench, dplyr, magrittr, recipes

Linking to Rcpp, RcppArmadillo


Imported by tidydann.


See at CRAN