text_html_output_1.png
from sklearn.linear_model import LinearRegression

regressor = LinearRegression()
regressor.fit(x_train, y_train)

y_pred = regressor.predict(x_test)
y_pred

print(regressor.intercept_)
print(regressor.coef_)