Description Usage Arguments Value
N4
computes the 1-NN error on a test set generated by linear
interpolation of points of the same class.
1 | N4(x, y, n = 100)
|
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. |
n |
Number of test points to generate from the input data set. |
The 1-NN error computed on a test set generated by linear interpolation of points in the input data set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.