image_output_1.png
from sklearn.linear_model import LinearRegression

from sklearn.linear_model import LinearRegression
regressor = LinearRegression()
regressor.fit(X_train, y_train)

y_pred = regressor.predict(X_test)

mean_squared_error(y_test, y_pred)