Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Clustermap | Matrix Plots
Deep Dive into the seaborn Visualization

Sveip for å vise menyen

book
Clustermap

A clustermap is a matrix plot with a heatmap and two clustering dendrograms (learn more: Machine Learning).

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img
Oppgave

Swipe to start coding

  1. Create the clustermap using the seaborn library:
  • Add the data for the clustermap. Input only the name of the DataFrame;
  • Set the 'vlag' cmap;
  • Set the standard_scale parameter equals 1;
  • Set the 'single' method parameter;
  • Set the 'correlation' metric parameter;
  • Add the annot;
  • Set the vmin parameter equals 0 and vmax parameter equals 10;
  • Display the plot.

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 4. Kapittel 2
Vi beklager at noe gikk galt. Hva skjedde?

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
Clustermap

A clustermap is a matrix plot with a heatmap and two clustering dendrograms (learn more: Machine Learning).

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img
Oppgave

Swipe to start coding

  1. Create the clustermap using the seaborn library:
  • Add the data for the clustermap. Input only the name of the DataFrame;
  • Set the 'vlag' cmap;
  • Set the standard_scale parameter equals 1;
  • Set the 'single' method parameter;
  • Set the 'correlation' metric parameter;
  • Add the annot;
  • Set the vmin parameter equals 0 and vmax parameter equals 10;
  • Display the plot.

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 4. Kapittel 2
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