mvtsa.warping.segment_local_cost#
- mvtsa.warping.segment_local_cost(A, B, local='krzanowski', weights=(0.5, 0.5), scale=None)[source]#
Local cost matrix between two sequences of segment models.
localis one ofLOCAL_DISTANCESor a callablef(model_a, model_b) -> float.weightsare the (mean, slope) weights of"mdpla";scalethe level scaling of the mean-based measures (values are divided by it, as the representation of MDPLA is scaled to [-1, 1]).