Simple Linear Regression (One feature)
- Implement the linear regression using the (a) Ordinary Least Squares (OLS) Method and (b) Gradient Descent Algorithm
Dataset: Swedish Auto Insurance dataset. Click her e to download
- You need to split the dataset into train(60%), validation (20%), and test(20%).
- Print the train, validation, and test accuracy
Multiple Linear Regression
- Implement the linear regression using the Gradient Descent
Algorithm
Dataset: Boston house pricing dataset.
Hint to load the dataset from sklearn import datasets boston = datasets.load_boston(return_X_y=False)
- You need to split the dataset into train(60%), validation (20%), and test(20%).
- Print the train, validation, and test accuracy

![[Solved] CS360 Assignment 3](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] CS360 Assignment 7](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.