Created
March 3, 2019 12:02
-
-
Save roboreport/4fdb5642d4a7a6512a22b9d034800e39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%matplotlib inline | |
import matplotlib.pyplot as plt | |
Y_pred = lm.predict(X_test) | |
plt.scatter(Y_test, Y_pred) | |
plt.xlabel("Price Index: $Y_i$") | |
plt.ylabel("Predicted price Index: $\hat{Y}_i$") | |
plt.title("Prices vs Predicted price Index: $Y_i$ vs $\hat{Y}_i$") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment