mvtsa.evaluation.precision_recall_curve_knn#
- mvtsa.evaluation.precision_recall_curve_knn(D, labels, r_items=10)[source]#
Precision at recall levels
r = 1..r_items(Bankó, 2015, Alg. 3.1).For every query the neighbours are retrieved in order of distance; when the
r-th item of the query’s class is reached afterkretrieved items, the precision at recallrisr/k. The curve is averaged over all queries; classes with fewer thanr_items + 1members limitr_items.
Examples using mvtsa.evaluation.precision_recall_curve_knn#
When the information is in the correlation structure
When the information is in the correlation structure