Gradient Descent, Data Science, Data Visualization, Deep Learning, Machine Learning.
sklearn.model_selection import train_test_split import time X,y = load_diabetes(return_X_y=True) print(X.shape) print(y.shape) >>> (442, 10) >>> (442,) X_train,X_test,y_train,y_test = train_test_split(X,y,test_size=0.2,random_state=2) reg = LinearRegression() reg.fit(X_train,y_train)