Skip to content

Instantly share code, notes, and snippets.

@roboreport
Created October 20, 2019 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roboreport/635f8a9b421a1775a43a6e31eb450d0d to your computer and use it in GitHub Desktop.
Save roboreport/635f8a9b421a1775a43a6e31eb450d0d to your computer and use it in GitHub Desktop.
%matplotlib inline
import matplotlib.pyplot as plt
y_pred = model.predict(X_test_t, batch_size=32)
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