This workflow shows how to build a hierarchy of clusters and visualize the hierarchy using the Sunburst Chart. It reads text data from a table.
The data is taken from the 20 newsgroups dataset, divided into two categories, politics and sport. The data are first converted into documents, then they are preprocessed, i.e. tagged, filtered, lemmatized, etc, and later converted into document vectors.
The next step is the clustering. A distance matrix is calculated using the cosine distance measure. Based on that, the documents are clustered hierarchically. To visualize the hierarchy, the Hierarchical Cluster View node is used to show the dendrogram. Furthermore the Sunburst Chart is used and the top k hierarchical levels of the clustering are shown in a radial layout.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!