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.
Description
Distance for KNN Test The Distance_for_KNN_test returns the distance matrix between the test set and the training set.
Usage
Distance_for_KNN_test(test_set, train_set)
Arguments
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 |
Value
a distance matrix
See Also
knn_test_function
pdist
[Package FastKNN version 0.0.1 Index]