tropea_clustering.plot.plot_output_uni¶
- tropea_clustering.plot.plot_output_uni(title, input_data, n_particles, state_list)[source]¶
Plots clustering output with Gaussians and thresholds.
- Parameters:
title (str) – The path of the .png file the figure will be saved as.
input_data (ndarray of shape (n_particles * n_seq, delta_t)) – The input data array, in the format taken by Onion Clustering.
n_particles (int) – The number of particles in the original dataset.
state_list (List[StateUni]) – The list of the cluster states.
data (The left planel shows the input time-series)
backgound (with the)
panel (colored according to the thresholds between the clusters. The left)
distribution (shows the cumulative data)
the (and the Gaussians fitted to)
data
clusters. (corresponding to the identified)