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 М.
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 12 МЛН
100❤️
00:19
MY💝No War🤝
Рет қаралды 23 МЛН
Matplotlib Crash Course
1:31:41
freeCodeCamp.org
Рет қаралды 302 М.
44 - What is linear regression?
16:56
DigitalSreeni
Рет қаралды 6 М.
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 М.
49 - Logistic Regression using scikit-learn in Python
38:36
DigitalSreeni
Рет қаралды 11 М.
47 - Multiple Linear Regression with SciKit-Learn in Python
13:18
DigitalSreeni
Рет қаралды 11 М.
Как распознать поддельный iPhone
0:44
PEREKUPILO
Рет қаралды 2 МЛН
Cheapest gaming phone? 🤭 #miniphone #smartphone #iphone #fy
0:19
Pockify™
Рет қаралды 4,1 МЛН
PART 52 || DIY Wireless Switch forElectronic Lights - Easy Guide!
1:01
HUBAB__OFFICIAL
Рет қаралды 66 МЛН
Top 50 Amazon Prime Day 2024 Deals 🤑 (Updated Hourly!!)
12:37
The Deal Guy
Рет қаралды 1,4 МЛН