Skip to content

Commit

Permalink
Merge pull request PyMVPA#466 from yarikoptic/bf-labile
Browse files Browse the repository at this point in the history
BF: reduce required ACC while testing auc -- ran 100 times without failure
  • Loading branch information
yarikoptic committed Apr 19, 2016
2 parents 1d11560 + 46e9762 commit aa218e3
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 aa218e3

Please sign in to comment.