mvtsa.simplify.select_prototypes#

mvtsa.simplify.select_prototypes(D, labels=None, n_per_class=3)[source]#

Indices of representative series: the n_per_class medoids of every class (or of the whole set) under the distance matrix D, selected greedily (k-medoids BUILD step). Shrinks a reference collection for fast nearest-neighbour classification.