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

Stryg for at vise menuen

book
Lmplot

Note

lmplot = FacetGrid + regplot

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img
Opgave

Swipe to start coding

  1. Set the 'darkgrid' style with the 'lightpink' figure.facecolor.
  2. Create a lmplot using the seaborn library:
  • Set the x parameter equals the 'total_bill';
  • Set the y parameter equals the 'tip';
  • Set the hue parameter equals 'smoker';
  • Set the col parameter equals the 'sex';
  • Set the 'o' and 'x' markers;
  • Set the 'crest' palette;
  • Set the data;
  • 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 6. Kapitel 2

Spørg AI

expand
ChatGPT

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

book
Lmplot

Note

lmplot = FacetGrid + regplot

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img
Opgave

Swipe to start coding

  1. Set the 'darkgrid' style with the 'lightpink' figure.facecolor.
  2. Create a lmplot using the seaborn library:
  • Set the x parameter equals the 'total_bill';
  • Set the y parameter equals the 'tip';
  • Set the hue parameter equals 'smoker';
  • Set the col parameter equals the 'sex';
  • Set the 'o' and 'x' markers;
  • Set the 'crest' palette;
  • Set the data;
  • 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 6. Kapitel 2
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt