893b7c85c0cb072dfb59cbc1cca81a4a923d9df8,Orange/tests/test_softmax_regression.py,SoftmaxRegressionTest,test_SoftmaxRegressionPreprocessors,#SoftmaxRegressionTest#,17
Before Change
def test_SoftmaxRegressionPreprocessors(self):
np.random.seed(40)
table = Table("iris")
new_attrs = (ContinuousVariable("c0"),) + table.domain.attributes
new_domain = Domain(new_attrs,
table.domain.class_vars,
table.domain.metas)
new_table = np.hstack((
100 * np.random.random((table.X.shape[0], 1)),
table))
table = table.from_numpy(new_domain, new_table)
learners = [SoftmaxRegressionLearner(preprocessors=[]),
SoftmaxRegressionLearner()]
results = CrossValidation(table, learners, k=10)
ca = CA(results)
After Change
def test_SoftmaxRegressionPreprocessors(self):
table = Table("iris")
table.X[:,2] = table.X[:,2] * 0.001
table.X[:,3] = table.X[:,3] * 0.001
learners = [SoftmaxRegressionLearner(preprocessors=[]),
SoftmaxRegressionLearner()]
results = CrossValidation(table, learners, k=10)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: biolab/orange3
Commit Name: 893b7c85c0cb072dfb59cbc1cca81a4a923d9df8
Time: 2015-12-18
Author: tomaz.hocevar@fri.uni-lj.si
File Name: Orange/tests/test_softmax_regression.py
Class Name: SoftmaxRegressionTest
Method Name: test_SoftmaxRegressionPreprocessors
Project Name: biolab/orange3
Commit Name: 370ead0678c54153dae318894b9c414cf0ace05d
Time: 2017-05-05
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/evaluate/owconfusionmatrix.py
Class Name: OWConfusionMatrix
Method Name: commit
Project Name: catalyst-team/catalyst
Commit Name: 1ef3ad90a3423ed15ca41e0ea4e81012ebe84a9f
Time: 2020-08-11
Author: scitator@gmail.com
File Name: catalyst/data/scripts/project_embeddings.py
Class Name:
Method Name: main