Skip to content

Commit

Permalink
updated typos in plot_spam.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kpolimis committed Jul 5, 2016
1 parent 1a630d5 commit 38a98bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/plot_spam.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@

idx = np.where(spam_y_test == 0)[0]
plt.errorbar(spam_y_hat[idx, 1], np.sqrt(spam_V_IJ_unbiased[idx]),
fmt='.', alpha=0.75, label='ham')
fmt='.', alpha=0.75, label='not spam')

plt.xlabel('Prediction (probability spam)')
plt.xlabel('Prediction (spam probability)')
plt.ylabel('Standard deviation')
plt.legend()
plt.show()

0 comments on commit 38a98bf

Please sign in to comment.