8b7dd09d48237d4ecca57040e9aa44bd3d9a460a,tests/test_stats.py,StatsTests,testDatasetMeasureProb,#StatsTests#,55

Before Change


        self.failUnless(score[0] + score[2] < score[1] + score[3])

        // feature 1 and 3 should have a very unlikely value
        self.failUnless(m.null_prob[1] < 0.05)
        self.failUnless(m.null_prob[3] < 0.05)

        // the others should be a lot larger
        self.failUnless(m.null_prob[0] + m.null_prob[2] \

After Change




    def testDatasetMeasureProb(self):
        ds = datasets["uni2medium"]

        // to estimate null distribution
        m = OneWayAnova(null_dist=MCNullDist(permutations=10, tail="right"))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: PyMVPA/PyMVPA
Commit Name: 8b7dd09d48237d4ecca57040e9aa44bd3d9a460a
Time: 2008-06-30
Author: debian@onerussian.com
File Name: tests/test_stats.py
Class Name: StatsTests
Method Name: testDatasetMeasureProb


Project Name: PyMVPA/PyMVPA
Commit Name: beaa70afb296c9540bce8695785be4379354b1cc
Time: 2007-12-28
Author: debian@onerussian.com
File Name: tests/test_datameasure.py
Class Name: SensitivityAnalysersTests
Method Name: testBIG


Project Name: PyMVPA/PyMVPA
Commit Name: 4f276f32609ba16b11b8a78077590691a7620f0f
Time: 2009-05-27
Author: debian@onerussian.com
File Name: mvpa/tests/test_regr.py
Class Name: RegressionsTests
Method Name: testRegressions