309d87e3323920f29f530b0037b9a4569b28b785,mvpa/tests/test_procrust.py,ProcrusteanMapperTests,testSimple,#ProcrusteanMapperTests#,20

Before Change


            for s, scaling in ((0.3, True), (1.0, False)):
                pm = ProcrusteanMapper(scaling=scaling)

                t1, t2 = 0.2, 0.5

                // Create source/target data
                d = d_orig[:, :nf_s]
                d_s = d + t1

After Change



                // train bloody mapper(s)
                pm.train(d_s, d_t)
                ds2 = Dataset(samples=d_s, labels=d_t)
                pm2.train(ds2)

                // verify that both created the same transformation
                self.failUnless(norm(pm._T - pm2._T) <= 1e-12)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: PyMVPA/PyMVPA
Commit Name: 309d87e3323920f29f530b0037b9a4569b28b785
Time: 2009-05-15
Author: debian@onerussian.com
File Name: mvpa/tests/test_procrust.py
Class Name: ProcrusteanMapperTests
Method Name: testSimple


Project Name: PyMVPA/PyMVPA
Commit Name: 7859ecea2734c65fa6eabb014b2936c5aebc5cb2
Time: 2007-11-07
Author: debian@onerussian.com
File Name: tests/test_dataset.py
Class Name: DatasetTests
Method Name: testZScoring


Project Name: idaholab/raven
Commit Name: 438b2a63d195c8f5ccecae35d577d8bfde354406
Time: 2020-08-22
Author: mohammad.abdo@inl.gov
File Name: framework/Optimizers/GeneticAlgorithm.py
Class Name: GeneticAlgorithm
Method Name: _useRealization