plot_cluster_algorithm

plot_cluster_algorithm(model: BaseClusterer, X, k: int)[source]

Plot the results from a univariate partitioning algorithm.

Parameters:
model: BaseClusterer

Clustering model to plot

X: np.ndarray or pd.Dataframe or List[pd.Dataframe]

The series to predict the values for

k: int

Number of centers

Returns:
figplt.Figure
axplt.Axis