Clustering and Unsupervised Learning

Create a KMeans Model

① Learn

Unsupervised learning works without target labels. KMeans is a common way to group similar examples into clusters.

② Implement — write it, run it, submit
Goal

Import `KMeans` and create a model with `n_clusters=2`.

Output
Hints
  • Stuck? Reveal a hint.
Free Tools & Calculators