Question: Machine Learning do using python on jupyter notebook 1. Linear Regression Dataset used: Diabetes from sklearn You are asked to solve a regression problem in
Machine Learning
do using python on jupyter notebook
1. Linear Regression
Dataset used: Diabetes from sklearn
You are asked to solve a regression problem in the Diabetes dataset. Please review the Diabetes dataset used before creating a program to decide which attributes will be used in the regression process.
please use the cross-validation step to produce the best evaluation of the model.
All you have to do is
• Perform linear regression using the OLS (Ordinary Least Square) method (sklearn.linear_model.LinearRegression)
• Also do linear regression using additional regularization. (Lasso)
• Also do linear regression by doing gradient descent algorithm training (func: sklearn.linear_model.SGDRegressor)
• In Sklearn there are several other regression methods that can be tried for use in Diabetes problems.(baysean ridge etc)
Step by Step Solution
3.41 Rating (148 Votes )
There are 3 Steps involved in it
To solve this regression problem using Python on a Jupyter notebook follow the outlined steps below Step 1 Import Required Libraries python import numpy as np import pandas as pd from sklearndatasets ... View full answer
Get step-by-step solutions from verified subject matter experts
