2223c288a6d5d4e7a9fb7305dc840b9910b7f679,Orange/tests/test_pca.py,TestPCA,test_chain,#TestPCA#,107
Before Change
self.assertIsNone(pca_iris2.domain[0].compute_value.transformed)
def test_chain(self):
zoo = Table("zoo")
zoo_c = Continuize(zoo)
pca = PCA(n_components=3)(zoo_c)(zoo)
pca2 = PCA(n_components=3)(zoo_c)(zoo_c)
pca3 = PCA(n_components=3, preprocessors=[Continuize()])(zoo)(zoo)
After Change
zoo_c = Continuize(self.zoo)
pca = PCA(n_components=3)(zoo_c)(self.zoo)
pca2 = PCA(n_components=3)(zoo_c)(zoo_c)
pp = [Continuize()]
pca3 = PCA(n_components=3, preprocessors=pp)(self.zoo)(self.zoo)
np.testing.assert_almost_equal(pca.X, pca2.X)
np.testing.assert_almost_equal(pca.X, pca3.X)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: biolab/orange3
Commit Name: 2223c288a6d5d4e7a9fb7305dc840b9910b7f679
Time: 2016-05-19
Author: tankovesna@hotmail.com
File Name: Orange/tests/test_pca.py
Class Name: TestPCA
Method Name: test_chain
Project Name: biolab/orange3
Commit Name: dba03a11ae5e7a029bfc84518973fd4ceb344121
Time: 2015-10-09
Author: kerncece@gmail.com
File Name: Orange/tests/test_classification.py
Class Name: ModelTest
Method Name: test_probs_from_value
Project Name: biolab/orange3
Commit Name: 7fee1dae63fabcfa6c90cc1deecdd337083c7692
Time: 2015-01-30
Author: anze.staric@gmail.com
File Name: Orange/classification/softmax_regression.py
Class Name:
Method Name:
Project Name: biolab/orange3
Commit Name: df764e2aaceee6d92523d483d2ccc0063ea6b35f
Time: 2014-06-20
Author: lan.zagar@fri.uni-lj.si
File Name: Orange/tests/test_naive_bayes.py
Class Name: NaiveBayesTest
Method Name: test_BayesStorage