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.

local is one of LOCAL_DISTANCES or a callable f(model_a, model_b) -> float. weights are the (mean, slope) weights of "mdpla"; scale the level scaling of the mean-based measures (values are divided by it, as the representation of MDPLA is scaled to [-1, 1]).