Description Usage Arguments Value
An interface that allows learning k-NN with different distance metric learners simultaneously.
1 | MultiDML_kNN(n_neighbors, dmls = NULL, verbose = FALSE, ...)
|
n_neighbors |
The number of neighbors for k-NN. Integer. |
dmls |
A list of distance metric learning algorithms to be learned for k-NN. By default, euclidean distance will be added at the first place of the dml list. |
verbose |
Boolean. If True, console message about the algorithms execution will be printed. |
... |
Additional arguments for Scikit-Learn k-Neighbors Classifier. |
The MultiDML_kNN classifier, structured as a named list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.