Matlab linear regression
Budget: $30 – $250 USD
Use the “carbig” dataset in Matlab to implement linear regression. For those
programming in Python, the dataset is provided in the attached Excel file.
You must choose “Weight” as the predictor and “Horsepower” as the target variables.
Your implementation must include:
1. Closed-form solution
2. Gradient descent method
Your code must output two plots, exactly as follows.
programming in Python, the dataset is provided in the attached Excel file.
You must choose “Weight” as the predictor and “Horsepower” as the target variables.
Your implementation must include:
1. Closed-form solution
2. Gradient descent method
Your code must output two plots, exactly as follows.