Prepares the KNN function to be used to predict the class of a new set
KNN_method(formula = formula,data=NULL,...)
the base formula to extract the outcome
the data to be used for training the KNN method
parameters for the KNN function and the data scaling method
The data frame to be used to train the KNN prediction
The scaled training set
A vector with the outcome to be used by the KNN function
The name of the outcome
The list of features to be used by the KNN method
A vector with the mean of each training feature
A vector with the dispesion of each training feature
The number of neigbors to be used by the predict function
The scaling method to be used by FRESAScale() function
class::knn
,FRESAScale