- Linear Regression is one of the popular machine learning algorithms based on supervised learning, which is used for understanding the relationship between input and output numerical variables.
- It applies
**regression analysis**, a predictive modeling technique that finds a relationship between the dependent and independent variables. - It shows the linear relationship between
**independent**and**dependent variables**, hence it is called a linear regression algorithm. - Linear Regression is used for prediction of continuous numerical variables such as sales/day, temperature, etc.
- It can be divided into two categories:
**Simple Linear Regression****Multiple Linear Regression**

If we talk about simple linear regression algorithm, then it shows a linear relationship between the variables, which can be understood using the below equation, and graph plot.