text_plain_output_1.png
from sklearn.linear_model import LinearRegression

import matplotlib.pyplot as plt

clf = LinearRegression()

clf.fit(X_train, y_train)

predictions = clf.predict(X_test)

plt.scatter(y_test, predictions)