Use the carbig dataset in Matlab to implement linear regression. You must choose Weight as the predictor and Horsepower as the target variables. Your implementation must include:
- Closed-form solution
- Gradient descent method
Your code must output two plots, exactly as follows.

![[Solved] Machine Learning ECE 4332 / ECE 5332 Project 1](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] Machine Learning ECE 4332 / ECE 5332 Project 1](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.