42 - Introduction to Seaborn Plotting in Python

  Рет қаралды 4,891

DigitalSreeni

DigitalSreeni

5 жыл бұрын

Seaborn is a complimentary plotting library to Matplotlib for statistical data visualization. It enhances the visualization capabilities and makes working with Pandas DataFrames easy. This tutorial covers the basics of Seaborn library and goes through a few example plots.
The code from this video is available at: github.com/bnsreenu/python_fo...

Пікірлер: 7
@finnmccool8671
@finnmccool8671 5 жыл бұрын
I've watched only a couple of your videos so far and have found them very helpful and succinct. I will be watching more in the future!
@DigitalSreeni
@DigitalSreeni 5 жыл бұрын
Thanks Finn, the feedback definitely encourages me to create more videos.
@felip6180
@felip6180 4 жыл бұрын
Quite amazing tutorial and tool this seaborn! I've got curious about one thing. Does seaborn has a residual plot function? I mean, if I input the data, regress it, is there a possibility of it showing a plot of the residual values?
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
Yes, I believe so. Check the documentation.... seaborn.pydata.org/generated/seaborn.residplot.html
@felip6180
@felip6180 4 жыл бұрын
@@DigitalSreeni Thank you very much!
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
You’re welcome 😇
@chrisphayao
@chrisphayao Жыл бұрын
ChatGPT told me that seaborn doesn't provide the underlying equation for lmplot - there is an indirect way to find that out - but your way is easier ! import seaborn as sns import statsmodels.formula.api as smf # Generate a scatter plot with a regression line using lmplot sns.set(style="ticks") tips = sns.load_dataset("tips") lm = sns.lmplot(x="total_bill", y="tip", data=tips) # Extract the data from the lmplot figure x_data = lm.ax.collections[0].get_offsets()[:, 0] y_data = lm.ax.collections[0].get_offsets()[:, 1] # Fit a linear regression model using statsmodels model = smf.ols(formula='y ~ x', data=pd.DataFrame({'x': x_data, 'y': y_data})).fit() # Extract the coefficients from the model intercept = model.params['Intercept'] slope = model.params['x'] # Build the equation equation = f"y = {slope:.2f} * x + {intercept:.2f}" print(equation)
104 - Ridge Filters to detect tube like structures in images
5:25
DigitalSreeni
Рет қаралды 7 М.
45 - Linear regression using Sci-Kit Learn in Python
25:20
DigitalSreeni
Рет қаралды 8 М.
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 76 МЛН
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 9 МЛН
Matplotlib Full Python Course - Data Science Fundamentals
1:02:41
NeuralNine
Рет қаралды 124 М.
Exploratory Data Analysis with Pandas Python
40:22
Rob Mulla
Рет қаралды 444 М.
Scientific Concepts You're Taught in School Which are Actually Wrong
14:36
36 - Introduction to Pandas - Data reading and handling
22:59
DigitalSreeni
Рет қаралды 5 М.
44 - What is linear regression?
16:56
DigitalSreeni
Рет қаралды 6 М.
Pandas for Data Science in 20 Minutes | Python Crash Course
23:06
Nicholas Renotte
Рет қаралды 116 М.
Tutorial 11-Exploratory Data Analysis(EDA) of Titanic dataset
31:45
Easy Art with AR Drawing App - Step by step for Beginners
0:27
Melli Art School
Рет қаралды 15 МЛН
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 5 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 405 М.
Как распознать поддельный iPhone
0:44
PEREKUPILO
Рет қаралды 2 МЛН
S24 Ultra and IPhone 14 Pro Max telephoto shooting comparison #shorts
0:15
Photographer Army
Рет қаралды 8 МЛН