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 after k retrieved items, the precision at recall r is r/k. The curve is averaged over all queries; classes with fewer than r_items + 1 members limit r_items.

Examples using mvtsa.evaluation.precision_recall_curve_knn#

Correlation-based dynamic time warping

Correlation-based dynamic time warping

When the information is in the correlation structure

When the information is in the correlation structure