Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Implementing K-Means Clustering | K-Means
Cluster Analysis

Свайпніть щоб показати меню

book
Challenge: Implementing K-Means Clustering

Завдання

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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 3. Розділ 7

Запитати АІ

expand
ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

book
Challenge: Implementing K-Means Clustering

Завдання

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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 3. Розділ 7
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Ми дуже хвилюємося, що щось пішло не так. Що трапилося?
some-alt