What is Linear Regression?
It is a method used for predicting future values by finding a linear pattern in the previously given data. The linear pattern in the data can be represented by a best-fit line on the graph.
This line helps in pointing to the right direction and predicting the position of future data-points on the graph.
How does Linear Regression work?
The pattern in any dataset occurs when there is a relationship between two or more variables. Usually between X and Y axis.
How to find the best-fit line?
The best-fit/regression line is just a line having all the properties of any simple line. For example