Seksjon 1. Kapittel 33
single
Challenge: Implementing Gaussian Mixture Models
Sveip for å vise menyen
Oppgave
Sveip for å begynne å kode
You are given a synthetic dataset stored in the data variable.
-
Initialize a Gaussian mixture model with
3clusters, setrandom_stateto42, and store it in thegmmvariable. -
Fit the model on the dataset, predict the cluster labels and store the result in the
labelsvariable. -
For each cluster
i, extract the points belonging to this cluster and store the result in thecluster_pointsvariable.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 33
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår