text_html_output_1.png
from sklearn import metrics

from sklearn.linear_model import LinearRegression

clf = LinearRegression()

clf.fit(X_train, y_train)

predictions = clf.predict(X_test)

print(metrics.mean_squared_error(y_test, predictions))