Skip to content

Commit

Permalink
Merge pull request #15 from kpolimis/flake8
Browse files Browse the repository at this point in the history
updated typos in plot_spam.py
  • Loading branch information
arokem committed Jul 5, 2016
2 parents 1a630d5 + 38a98bf commit 13b3f79
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 13b3f79

Please sign in to comment.