Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

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... blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Basic Statistics

Authors: Charles Henry Brase, Corrinne Pellillo Brase

6th Edition

978-1133525097, 1133525091, 1111827028, 978-1133110316, 1133110312, 978-1111827021

More Books

Students explore these related Programming questions