From 38a98bffd3b7dc7ccee4d0274c0ba7e54a1a461a Mon Sep 17 00:00:00 2001 From: kpolimis Date: Mon, 4 Jul 2016 19:25:46 -0700 Subject: [PATCH] updated typos in plot_spam.py --- examples/plot_spam.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/plot_spam.py b/examples/plot_spam.py index 596fd8d..0d7ac11 100644 --- a/examples/plot_spam.py +++ b/examples/plot_spam.py @@ -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()