Created
October 6, 2021 04:25
-
-
Save andreachello/215bd82e9e3389078fc3e417cc3d2ce7 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
plt.figure(figsize=(12,5)) | |
sns.set_context('talk') | |
sns.set_style('ticks') | |
sns.set_palette('dark') | |
ax = plt.axes() | |
# we are going to use y_test_ohc, y_test_ohc_pred | |
ax.scatter(y_test_ohc, y_test_ohc_pred, alpha=.5) | |
ax.set(xlabel='Ground truth', | |
ylabel='Predictions', | |
title='Ames, Iowa House Price Predictions vs Truth, using Linear Regression'); | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment