Icon

2020_​09_​25_​Adding_​Cluster_​Labels_​k-Means_​Custering

Adding cluster labels after k-Means clustering

This workflow demonstrates how to add defined cluster labels after k-Means clustering on only one column is performed. This is done by specifying Cluster Labels in table Creator node and appending them to already ascending sorted data from second output of k-Means node. Then Cell Replacer is used to add Cluster Lables to data from first output.

Same approach can be used to add Cluster Labels to data from Cluster Assigner node.

Visualization Adding cluster labels after k-Means clusteringThis workflow demonstrates how to add defined cluster labels after k-Means clustering is performed.Forum link: https://forum.knime.com/t/k-means-help/27600 Perform clusteringwith 3 clustersAssign colorsto classesAssign shapeto clusters labelCreate scatterplotSplit dataassign clusterto new data pointsInput dataIris data setSort ascendingDefine Cluster LabelsAppend Cluster LabelsAdd Cluster Label k-Means Color Manager Shape Manager Scatter Plot(local) Partitioning Cluster Assigner Table Reader Sorter Table Creator Column Appender Cell Replacer Visualization Adding cluster labels after k-Means clusteringThis workflow demonstrates how to add defined cluster labels after k-Means clustering is performed.Forum link: https://forum.knime.com/t/k-means-help/27600 Perform clusteringwith 3 clustersAssign colorsto classesAssign shapeto clusters labelCreate scatterplotSplit dataassign clusterto new data pointsInput dataIris data setSort ascendingDefine Cluster LabelsAppend Cluster LabelsAdd Cluster Label k-Means Color Manager Shape Manager Scatter Plot(local) Partitioning Cluster Assigner Table Reader Sorter Table Creator Column Appender Cell Replacer

Nodes

Extensions

Links