Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
%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