Lesson 38 of 60
pythonSeaborn Regression Plots
20 minutes
Course progress63%
Regression Plots in Seaborn
Understanding relationships between variables is crucial for data science.
regplot – simple linear regression
sns.regplot(x='hours', y='score', data=tips, scatter_kws={'alpha':0.6}, line_kws={'color':'red'})
plt.title()
plt.show()