mvtsa.simplify.reduce_segments#

mvtsa.simplify.reduce_segments(tree, keep=0.95)[source]#

Coarsest level of a bottom-up merge hierarchy whose explained cost reduction is at least keep of the finest level’s: \((cost_1-cost_c)/(cost_1-cost_{K}) \ge\) keep.