fuzzyclust.relational.plot_series_clusters#
- fuzzyclust.relational.plot_series_clusters(X, labels, medoids=None, ax=None, alpha=0.35, max_per_cluster=None)[source]#
Time series drawn in the color of their cluster, medoid series emphasized.
- Parameters:
- Xarray_like
ofshape(n_series,length) - labelsarray_like
ofshape(n_series,) - medoidsarray_like
ofint,optional Indices of the medoid series (drawn in black on top).
- ax
matplotlibAxesor sequenceofAxes,optional One axes for all clusters, or one axes per cluster.
- alpha
float, default=0.35 - max_per_cluster
int,optional Draw at most this many series per cluster.
- Xarray_like
- Returns:
- ax
matplotlibAxesorndarrayofAxes
- ax
Examples using fuzzyclust.relational.plot_series_clusters#
Fuzzy c-medoids on dynamic-time-warping dissimilarities of time series
Fuzzy c-medoids on dynamic-time-warping dissimilarities of time series