tropea_clustering.plot_smooth.plot_time_res_analysis¶
- tropea_clustering.plot_smooth.plot_time_res_analysis(title, tra)[source]¶
Plots the results of clustering at different time resolutions.
- Parameters:
title (pathlib.Path) – The path of the .png file the figure will be saved as.
tra (ndarray of shape (delta_t_values, 3)) – tra[j][0] must contain the j-th value used as delta_t; tra[j][1] must contain the corresponding number of states; tra[j][2] must contain the corresponding unclassified fraction.
Example
Here’s an example of the output:
For each of the analyzed time resolutions, the blue curve shows the number of identified clusters (not including the unclassified data); the orange line shows the fraction of unclassififed data.