Package: dann 1.3.0

Greg McMahan

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

Authors:Greg McMahan [aut, cre]

dann_1.3.0.tar.gz
dann_1.3.0.zip(r-4.7-x86_64)dann_1.3.0.zip(r-4.7-arm64)dann_1.3.0.zip(r-4.6-x86_64)dann_1.3.0.zip(r-4.6-arm64)
dann_1.3.0.tar.gz(r-4.7-arm64)dann_1.3.0.tar.gz(r-4.7-x86_64)dann_1.3.0.tar.gz(r-4.6-arm64)dann_1.3.0.tar.gz(r-4.6-x86_64)
dann_1.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
dann/json (API)

# Install 'dann' in R:
install.packages('dann', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gmcmacran/dann/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openblascppopenmp

3.16 score 1 packages 32 scripts 390 downloads 6 exports 42 dependencies

Last updated from:de24cf5744. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK114
linux-devel-x86_64OK144
source / vignettesOK195
linux-release-arm64OK118
linux-release-x86_64OK128
windows-devel-arm64OK218
windows-devel-x86_64OK183
windows-release-arm64OK236
windows-release-x86_64OK133
wasm-releaseOK114

Exports:danndann_get_threadsdann_has_openmpdann_set_threadsgraph_eigenvaluessub_dann

Dependencies:classcliclustercpp11DEoptimRdiptestfarverflexmixfpcggplot2gluegtablehardhatisobandkernlablabelinglatticelifecyclemagrittrMASSmclustmodeltoolsnnetpillarpkgconfigprabclusR6RColorBrewerRcppRcppArmadillorlangrobustbaseS7scalessparsevctrsstringistringrtibbleutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Discriminant Adaptive Nearest Neighbor Classificationdann
Control the number of threads dann usesdann_get_threads dann_has_openmp dann_set_threads
Discriminant Adaptive Nearest Neighbor Classificationdann.data.frame
Discriminant Adaptive Nearest Neighbor Classificationdann.default
Discriminant Adaptive Nearest Neighbor Classificationdann.formula
Discriminant Adaptive Nearest Neighbor Classificationdann.matrix
Discriminant Adaptive Nearest Neighbor Classificationdann.recipe
A helper for choosing sub_dann's numDimgraph_eigenvalues
A helper for choosing sub_dann's numDimgraph_eigenvalues.data.frame
A helper for choosing sub_dann's numDimgraph_eigenvalues.default
A helper for choosing sub_dann's numDimgraph_eigenvalues.formula
A helper for choosing sub_dann's numDimgraph_eigenvalues.matrix
A helper for choosing sub_dann's numDimgraph_eigenvalues.recipe
Discriminant Adaptive Nearest Neighbor Classificationpredict.dann
Discriminant Adaptive Nearest Neighbor With Subspace Reductionpredict.sub_dann
Print dann modelprint.dann
Print sub_dann modelprint.sub_dann
Discriminant Adaptive Nearest Neighbor With Subspace Reductionsub_dann
Discriminant Adaptive Nearest Neighbor With Subspace Reductionsub_dann.data.frame
Discriminant Adaptive Nearest Neighbor With Subspace Reductionsub_dann.default
Discriminant Adaptive Nearest Neighbor With Subspace Reductionsub_dann.formula
Discriminant Adaptive Nearest Neighbor With Subspace Reductionsub_dann.matrix
Discriminant Adaptive Nearest Neighbor With Subspace Reductionsub_dann.recipe