Regression Plots
In this lesson, regression plots with the seaborn package are discussed.
We'll cover the following
Introduction
Regression is usually used to find the relationship between the dependent and independent variables of a dataset. Similarly, a regression plot helps us visualize the relationship of data in real time. By successfully obtaining a regression line, analysts can use it to predict future trends of the data. Let’s learn how to make a regression plot.
In the seaborn package, the lmplot
function is used to generate regression plots. Seaborn also provides built-in datasets to test its functionalities.
We will use the tips
dataset as used in its documentation. The data information about customers at a restaurant.
Get hands-on with 1400+ tech skills courses.