import numpy as np from sklearn import datasets from sklearn.model_selection import train_test_split from LinearRegression import LinearRegression from sklearn.preprocessing import StandardScaler from sklearn.linear_model import SGDRegressor
np.random.seed(1)
boston = datasets.load_boston()
X = boston.data y = boston.target X = X[y < 50.0] y = y[y < 50.0]