plot_dendrogram#

pyCGM2.Anomaly.anomalyCorrectionProcedures.plot_dendrogram(model, **kwargs)#

Plot the dendrogram of a fitted agglomerative clustering model.

Parameters:
  • model (sklearn.cluster.AgglomerativeClustering) – Fitted model (distance_threshold set, so that distances_ is available).

  • **kwargs – Keyword arguments passed to scipy.cluster.hierarchy.dendrogram().