tropea_clustering.plot.plot_medoids_uni¶
- tropea_clustering.plot.plot_medoids_uni(title, input_data, labels, output_to_file=False)[source]¶
Compute and plot the average signal sequence inside each state.
- 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 required by Onion Clustering.
labels (ndarray of shape (n_particles * n_seq,)) – The output of the clustering algorithm.
output_to_file (bool, default = False.) – If True, saves files with the cluster medoids.
cluster (For each)
(shaded (the average (solid line) and standard deviation)
unclassififed (area) of the signal sequences contained in it is shown. The)
purple. (seqeunces are shown individually in)