tropea_clustering.plot.plot_medoids_multi

tropea_clustering.plot.plot_medoids_multi(title, delta_t, 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.

  • delta_t (int) – The length of the signal window used.

  • input_data (ndarray of shape (n_dims, n_particles, n_frames)) – The input data array.

  • 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)

  • is (the average of the signal sequences contained in it)

  • shown (shown (large solid points). The unclassififed seqeunces are)

  • lines). (individually in purple (thin)