Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Implementing K-Means Clustering | K-Means
Analyse de Cluster
course content

Contenu du cours

Analyse de Cluster

Analyse de Cluster

1. Clustering Fundamentals
2. Core Concepts
3. K-Means
4. Hierarchical Clustering
5. DBSCAN
6. GMMs

book
Challenge: Implementing K-Means Clustering

Tâche

Swipe to start coding

You are given a synthetic dataset stored in the data variable.

  • Initialize a K-means model with 3 clusters, set random_state to 42, n_init to 'auto' and store it in the kmeans variable.
  • Fit the model on the dataset, predict the cluster labels, and store the result in the labels variable.
  • For each cluster i, extract the points belonging to this cluster and store the result in the cluster_points variable.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 7
toggle bottom row

book
Challenge: Implementing K-Means Clustering

Tâche

Swipe to start coding

You are given a synthetic dataset stored in the data variable.

  • Initialize a K-means model with 3 clusters, set random_state to 42, n_init to 'auto' and store it in the kmeans variable.
  • Fit the model on the dataset, predict the cluster labels, and store the result in the labels variable.
  • For each cluster i, extract the points belonging to this cluster and store the result in the cluster_points variable.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 7
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Nous sommes désolés de vous informer que quelque chose s'est mal passé. Qu'est-il arrivé ?
some-alt