plot_cluster_algorithm

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

绘制单变量分区算法的结果。

Parameters:
model: BaseClusterer

要绘制的聚类模型

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

用于预测值的系列

k: int

中心数量

Returns:
figplt.Figure
axplt.Axis