mvtsa.simplify.select_prototypes#
- mvtsa.simplify.select_prototypes(D, labels=None, n_per_class=3)[source]#
Indices of representative series: the
n_per_classmedoids of every class (or of the whole set) under the distance matrixD, selected greedily (k-medoids BUILD step). Shrinks a reference collection for fast nearest-neighbour classification.