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

Stryg for at vise menuen

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
Opgave

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 desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 4. Kapitel 2
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

close

Awesome!

Completion rate improved to 4.35

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
Opgave

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 desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

close

Awesome!

Completion rate improved to 4.35

Stryg for at vise menuen

some-alt