From 46e97620405a80018b8722947133d4107707308d Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 18 Apr 2016 13:51:06 -0400 Subject: [PATCH] BF: reduce required ACC while testing auc -- ran 100 times without failure --- mvpa2/tests/test_transerror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mvpa2/tests/test_transerror.py b/mvpa2/tests/test_transerror.py index 8e98da77e8..e7e4bbb4da 100644 --- a/mvpa2/tests/test_transerror.py +++ b/mvpa2/tests/test_transerror.py @@ -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'])