Linear Regression – OLS Technique.
(1) Introduction.
- The Linear Regression model’s main objective is to find the best-fit line that will closely pass through all the points to minimize the loss.
- The question here is how to find out the best-fit line.
- We need some mathematical proof that this is my best-fit line.
- To solve this problem we have two techniques.
- Ordinary Least Square Technique.
- Gradient Descent Technique.
(2) Ordinary Least Square Technique.
- In case of OLS technique we directly use the formula for ‘m’ and ‘b’ to derive the best fit line equation.
- Here in this vlog we will discuss about OLS technique.
(3) Steps In OLS Technique.
![](https://www.praudyog.com/wp-content/uploads/2023/11/325.jpg)
![](https://www.praudyog.com/wp-content/uploads/2023/11/326.jpg)
![](https://www.praudyog.com/wp-content/uploads/2023/11/327.jpg)
![](https://www.praudyog.com/wp-content/uploads/2023/11/328.jpg)
![](https://www.praudyog.com/wp-content/uploads/2023/11/329.jpg)
![](https://www.praudyog.com/wp-content/uploads/2023/11/330.jpg)
![](https://www.praudyog.com/wp-content/uploads/2023/11/331.jpg)
![](https://www.praudyog.com/wp-content/uploads/2023/11/332.jpg)
![](https://www.praudyog.com/wp-content/uploads/2023/11/333.jpg)
![](https://www.praudyog.com/wp-content/uploads/2023/11/334.jpg)
![](https://www.praudyog.com/wp-content/uploads/2023/11/335.jpg)
![](https://www.praudyog.com/wp-content/uploads/2023/11/336.jpg)
![](https://www.praudyog.com/wp-content/uploads/2023/11/337.jpg)