Distance_for_KNN_test {FastKNN} | R Documentation |
Distance for KNN Test The Distance_for_KNN_test returns the distance matrix between the test set and the training set.
Distance_for_KNN_test(test_set, train_set)
test_set |
is a matrix where the columns are the features of the test set |
train_set |
is a matrix with the features of the training set |
a distance matrix
knn_test_function
pdist