View source: R/Prediction_NN.R
Prediction_NN | R Documentation |
Prediction_NN function
Prediction_NN(X, Y, weights = NULL)
X |
n x m matrix |
Y |
1 x m vector which is a single row of the matrix X |
weights |
If supplied will be given the vector of distances calculated from the Nearest_Neighbors function |
vector of predicted labels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.