Plotting hierarchical clustering dendrograms for large data sets

守給你的承諾、 提交于 2019-12-12 06:56:33

问题


I have a huge data set of time series data. In order to visualise the clustering in python, I want to plot time series graphs along with the dendrogram as shown below.

I tried to do it by using subgrid2plot() function in python by creating two subplots side by side. I filled first one with series graphs and second one with dendrograms. But once number of time series increased, it became blur.

Can someone suggest a nice way to plot this type of dendrogram? I have around 50,000 time series to cluster and visualise.


回答1:


Convert data into JSON with json module of python and then use D3.js for graph ploting. Check the Gallery from here where you can find dendrogram and time series graph



来源:https://stackoverflow.com/questions/43489033/plotting-hierarchical-clustering-dendrograms-for-large-data-sets

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!