Icon

Clustering_And_Elbow_Graph

There has been no title set for this workflow's metadata.

There has been no title set for this workflow's metadata.

The workflow reads a data set to be clustered (Iris data). The workflow details how to use K-Means clustering with a number of different metrics: Inertia, Entropy, and Silhouette Coefficient. It also illustrates how to create an elbow graph.

Annotations and comments
  • Showing how you can loop through values of "k", calulating the distances to create an Elbow graph using KNIME
  • Showing how you can use the same looping method as above to find optimal k. This one based on the Entropy metric.
  • Showing another looping method you can use to find the optimal k. This one based on Silhouette Coefficient.
  • Filter out everything except the squared distance values
  • Keep only datapoints and cluster center's datapoints
  • Sum up all the squared distances
  • Calculate the squared distances
  • Get both datapoint and the point of its cluster center in one row
  • Assess Quality
  • Test k and strategy
  • Start value for k
  • Number of iterations for k
  • Step size for k
  • Seed configuration for shuffling
  • Calculate stop value for k.
  • Test hillclimbing and k
  • Optimization strategy for Parameter Optimization Loop
  • Sort descending by mean silhouette coefficient
  • Value for k
  • Extract Quality
  • Reading in Iris dataset
  • Append Parameter

Nodes

Extensions

Links