Skip to content

Commit

Permalink
BF: reduce required ACC while testing auc -- ran 100 times without fa…
Browse files Browse the repository at this point in the history
…ilure
  • Loading branch information
yarikoptic committed Apr 18, 2016
1 parent 1d11560 commit 46e9762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mvpa2/tests/test_transerror.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def test_auc(self, clf):
# its testing labile
if (('lars' in clf.__tags__) and cfg.getboolean('tests', 'labile', default='yes')) \
or (not 'lars' in clf.__tags__):
self.assertTrue(stats['ACC'] > 1.2 / Nlabels)
self.assertTrue(stats['ACC'] > 1.15 / Nlabels)
auc = stats['AUC']
if (Nlabels == 2) or (Nlabels > 2 and auc[0] is not np.nan):
mauc = np.min(stats['AUC'])
Expand Down

0 comments on commit 46e9762

Please sign in to comment.