text_plain_output_1.png
from sklearn.linear_model import LinearRegression

from sklearn.linear_model import LinearRegression
lr_model = LinearRegression()
lr_model.fit(x_train, y_train)

lr_model.intercept_

lr_model.coef_

lr_model.score(x_train, y_train)

lr_model.score(x_test, y_test)