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
Step: 1
ANSWER import pandas as pd import numpy as np from sklearndatasets import loaddiabetes dataloaddiabe...See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started