text_plain_output_1.png
from sklearn.linear_model import LinearRegression,LogisticRegression

from sklearn.preprocessing import StandardScaler,MinMaxScaler

ss = StandardScaler()

x_train_ss = ss.fit_transform(x_train)
x_test_ss = ss.fit_transform(x_test)

lr2 = LinearRegression()

lr2.fit(x_train_ss, y_train)