Linear Regression, Gradient Descent, Machine Learning, Deep Learning, Naem Azam.
by loading the data. 1 2 3 4 5 6 7 8 9 #Importing the libraries import numpy as np from sklearn.datasets import load_diabetes #Loading the diabetes dataset diabetes = load_diabetes() X = diabetes.data Y = diabetes.target Now that we have our data let’s create our SGDRegressor object and train it on