mvtsa.warping.learn_segment_weights#
- mvtsa.warping.learn_segment_weights(model, collection, labels, grid=None)[source]#
Grid search of the weights of a segment-level measure.
modelis aPLADistance(weights(w_M, w_S)) or aCBDTWwhoselocalis aMixedSegmentDistance. Weights are searched on a simplex grid; returns(best_weights, {weights: accuracy}). The segmentations are computed once.