711f4c89c7fb4d65de7eca1286828c3e2a661d4b,Orange/tests/test_evaluation_scoring.py,Scoring_AUC_Test,test_tree,#Scoring_AUC_Test#,74

Before Change



class Scoring_AUC_Test(unittest.TestCase):
    def test_tree(self):
        data = Orange.data.Table("iris")
        tree = Orange.classification.TreeLearner()
        res = Orange.evaluation.CrossValidation(data, [tree], k=2)
        self.assertTrue(0.8 < AUC(res)[0] < 1.)

After Change


        tree = Orange.classification.TreeLearner()
        res = Orange.evaluation.CrossValidation(self.iris, [tree], k=2)
        self.assertGreater(AUC(res)[0], 0.8)
        self.assertLess(AUC(res)[0], 1.)

    def test_constant_prob(self):
        maj = Orange.classification.MajorityLearner()
        res = Orange.evaluation.TestOnTrainingData(self.iris, [maj])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biolab/orange3
Commit Name: 711f4c89c7fb4d65de7eca1286828c3e2a661d4b
Time: 2016-04-02
Author: andrej.jugovic7@gmail.com
File Name: Orange/tests/test_evaluation_scoring.py
Class Name: Scoring_AUC_Test
Method Name: test_tree


Project Name: biolab/orange3
Commit Name: 5a6c26f1cdafefddb7afcdb58d759e24ed652f5e
Time: 2016-04-02
Author: andrej.jugovic7@gmail.com
File Name: Orange/tests/test_logistic_regression.py
Class Name: LogisticRegressionTest
Method Name: test_LogisticRegression


Project Name: biolab/orange3
Commit Name: 711f4c89c7fb4d65de7eca1286828c3e2a661d4b
Time: 2016-04-02
Author: andrej.jugovic7@gmail.com
File Name: Orange/tests/test_evaluation_scoring.py
Class Name: Scoring_AUC_Test
Method Name: test_multiclass_auc_multi_learners