dann | R Documentation |
Discriminant Adaptive Nearest Neighbor Classification
dann(x, ..., k = 5, neighborhood_size = max(floor(nrow(x)/5), 50), epsilon = 1)
x |
A matrix or a dataframe. |
... |
Additional parameters passed to methods. |
k |
The number of data points used for final classification. |
neighborhood_size |
The number of data points used to calculate between and within class covariance. |
epsilon |
Diagonal elements of a diagonal matrix. 1 is the identity matrix. |
This is an implementation of Hastie and Tibshirani's Discriminant Adaptive Nearest Neighbor Classification publication..
An S3 class of type dann.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.