source: orange/docs/reference/rst/code/statExample0.py @ 9999:3b8b4cc606c0

Revision 9999:3b8b4cc606c0, 429 bytes checked in by anze <anze.staric@…>, 2 years ago (diff)

Improved documentation.

Line 
1import Orange
2
3learners = [Orange.classification.bayes.NaiveLearner(name="bayes"),
4            Orange.classification.tree.TreeLearner(name="tree"),
5            Orange.classification.majority.MajorityLearner(name="majority")]
6
7voting = Orange.data.Table("voting")
8res = Orange.evaluation.testing.cross_validation(learners, voting)
9
10print "CA =", Orange.evaluation.scoring.CA(res)
11print "AUC = ", Orange.evaluation.scoring.AUC(res)
Note: See TracBrowser for help on using the repository browser.