Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Perform Agglomerative Clustering | Basic Clustering Algorithms
Cluster Analysis

Sveip for å vise menyen

book
Perform Agglomerative Clustering

Oppgave

Swipe to start coding

Your task is to use different linkage types and to look at the performance of agglomerative clustering on moons and circles datasets. You have to:

  1. Import AgglomerativeClustering class from sklearn.cluster module.
  2. Add a parameter with the name linkage as an input of the function.
  3. Add .fit() method of the agglomerative object to train the model.
  4. Use 'single', 'complete', and 'average' as parameters of the function(parameters in the code have to be used in the same order).

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 4

Spør AI

expand
ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

book
Perform Agglomerative Clustering

Oppgave

Swipe to start coding

Your task is to use different linkage types and to look at the performance of agglomerative clustering on moons and circles datasets. You have to:

  1. Import AgglomerativeClustering class from sklearn.cluster module.
  2. Add a parameter with the name linkage as an input of the function.
  3. Add .fit() method of the agglomerative object to train the model.
  4. Use 'single', 'complete', and 'average' as parameters of the function(parameters in the code have to be used in the same order).

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 4
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt