Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Implementing Gaussian Mixture Models | Section
Performing Cluster Analysis
Sección 1. Capítulo 33
single

single

bookChallenge: Implementing Gaussian Mixture Models

Desliza para mostrar el menú

Tarea

Desliza para comenzar a programar

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

  • Initialize a Gaussian mixture model with 3 clusters, set random_state to 42, and store it in the gmm 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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 33
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

some-alt