Tuning parameters

pyDML package also provides functions for tuning parameters of distance metric algorithms using cross validation. Different scores can be used, from the k-Nearest Neighbors score, for any k, to any of the keys defined in the metadata of the distance metric learning algorithm. See the tune module and the tune and tune_knn functions.