mvtsa.viz.plot_segmentation#
- mvtsa.viz.plot_segmentation(X, segmentation, names=None, truth=None, fit=None, ax=None, stacked=None, standardize=True, title=None)[source]#
Series with the segments shaded (state colours if the segmentation has state labels), change points as vertical lines, optional true change points (dashed, at the top) and segment fits (
"mean"or"linear").Multivariate series are drawn standardized and vertically offset in one panel (
stacked=False) or as small multiples (stacked=True; default for more than four variables). Returns the Axes (or Figure).
Examples using mvtsa.viz.plot_segmentation#
Predictive homogeneity with any scikit-learn model
Predictive homogeneity with any scikit-learn model
Clustering segments: recurring patterns across series
Clustering segments: recurring patterns across series