Description Usage Arguments Value
N2
computes the average intra-class and average inter-class distance
of the 1-NN, and returns the intra/inter ratio.
1 | N2(x, y)
|
x |
A data frame, or an object that can be converted to a data frame, containing only the features of the data. |
y |
A vector (or factor) determining the class of each example in the data. |
The ratio between the average intra-class and average inter-class 1-NN Euclidian distance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.