Seaborn lmplot | Comparing lmplot vs regplot and using the Seaborn lmplot hue and FacetGrid

preview_player
Показать описание
This Seaborn lmplot tutorial shows you how to make a Seaborn lmplot and how the lmplot compares to the Seaborn regplot (Seaborn lmplot vs regplot). We start this Seaborn linear model plot video by reviewing the basics of creating an lmplot and how you can use Seaborn lmplot hue and markers to depict categorical variables. I then walk you through how to use the Seaborn lmplot FacetGrid options such as col and row. These options allow you to create small multiples with straightforward code. We then talk about a few extra options with the lmplot including x_bins to bin up your independent variables and logistic, which builds a logistic regression model instead of a linear regression model. Finally, we see several examples of how you can style your lmplot through the scatter_kws, line_kws, and through the FacetGrid options.

0:00 What is lmplot?
0:30 lmplot Code Basics
2:04 lmplot hue
3:40 lmplot FacetGrid
5:53 x_bins
7:13 Logistic Regression
8:59 Styling
11:52 BLOOPERS!

Github CODE:

Related VIDEOS:

Related LINKS:

#seaborn #dataviz
Рекомендации по теме
Комментарии
Автор

was working on Seaborn,
watched couple of your videos and I find them the most logical and useful

BarunHazary
Автор

Amazing video!! You explained everything so clearly, thank you so much!

specificpigeon
Автор

Great video. I've always ignored lmplot. Now I see how useful it is. I'll start using it. Thanks.

t-m
Автор

Thanks a lot for this Kimberley. I am new to data science and your videos are helping me understand creating graphs and plots on a whole other level. I have a question. Is there a way to include the value for the correlation coefficient in the plot?

khernandez
Автор

Uhh I am a beginner ANd I have a question ..Are these Regression plotted Correctly ?? Means We do not have to create a seperate model for the Linear Regression

Star_Bawa
Автор

Mam thank you so much for the video. I had a query of my own which I would like to ask you, when utilizing Gaussian Process Regression, I am obtaining the mean estimate along with their standard deviations from the posterior predictive distribution. How can I plot each mean(point) estimate along with their Confidence Interval (CI), can you kindly help?

swarnendusekharghosh
Автор

Hi Kimberly, fantastic. Quick question on the idea of splitting the plot into multiple plots, one per category. Your example had just 3 categories. I was usung a category variable from my dataset that had 6 (still not massive, right?), however these 6 small plots really were too tiny. Is there a simple way to max the output to two or three lmplots per line? Subplots?

johnbainbridge
Автор

thank you for your good video!. I have one question, do you know it is possible to change hue color and order ? I mean that the default would be alphabetical, but can it be changed to any order?

no
Автор

I did it! I plotted a logistic regression. But I got some trouble when I tried to make it two columns. Can you help me ma'am what should I do?

fedu
visit shbcf.ru