MicrolearnENPTES

k-Means

Lesson 12 of 18 · DS.Micro

Unsupervised learning does not use the target. k-Means splits the data into k groups of nearby points and creates the Cluster column.

Afterwards, you can compare the groups it found with the real species.

In Orange, k-Means adds Cluster as a meta attribute. A Scatter Plot after it can color by Cluster right away.

Connect a k-Means with k = 3 to the iris File.

Color the plot by Cluster and then by iris to compare.

Check yourself

Does k-Means use the "iris" column to form the groups?

No. It ignores the target and only looks at the measurements

Do it in the browser: a real data science tool, a short mission and instant feedback. No install.

Start this lesson — free
← Confusion matrixHow many clusters? Silhouette →

All lessons · DS.Micro