时间序列聚类 - 如何限制聚类数(图)

时间:2017-10-03 17:36:40

标签: r plot time-series cluster-analysis hierarchical-clustering

当我在tsclust上运行绘图时,我看到附加了树状图。首先,我希望只看到一定数量的聚类(例如5个)。现在我看到每个分支。其次,也许你知道更好的结果。我不熟悉聚类分析。谢谢!

enter image description here

分层聚类分析(包:dtwclust)

hc_sbd <- tsclust(stats.data2, type = "hierarchical", k = 10L,
              preproc = zscore, seed = 899,
              distance = "sbd", centroid = shape_extraction,
              control = hierarchical_control(method = "average"))

plot(hc_sbd)

0 个答案:

没有答案