dba03a11ae5e7a029bfc84518973fd4ceb344121,Orange/tests/test_classification.py,ModelTest,test_probs_from_value,#ModelTest#,101

Before Change



        // single class variable
        y = np.random.random_integers(1, 2, (nrows, 1))
        t = Table(x, y)
        learn = DummyLearner()
        clf = learn(t)
        clf.ret = Model.Value
        y2 = clf(x, ret=Model.Probs)

After Change



        // single class variable
        y = np.random.random_integers(0, 1, (nrows, 1))
        t = Table(Domain([DiscreteVariable("v" + str(i), values=np.unique(x[:, i]))
                          for i in range(ncols)],
                         DiscreteVariable("c", values=[1, 2])),
                  x, y)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


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: b42197cc67ff455bfbd189a417433b8ff897ab7b
Time: 2017-02-09
Author: tankovesna@hotmail.com
File Name: Orange/widgets/visualize/tests/test_owheatmap.py
Class Name: TestOWHeatMap
Method Name: _test_helper


Project Name: biolab/orange3
Commit Name: b6e8a4840a87da36f3e3f2a9a5626d178553bc5c
Time: 2017-05-05
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/utils/annotated_data.py
Class Name:
Method Name: create_annotated_table