source: orange/docs/reference/rst/code/statExample0.py @ 9372:aef193695ea9

Revision 9372:aef193695ea9, 365 bytes checked in by mitar, 2 years ago (diff)

Moved documentation to the separate directory.

Line 
1import orange, orngTest, orngTree
2
3learners = [orange.BayesLearner(name = "bayes"),
4            orngTree.TreeLearner(name="tree"),
5            orange.MajorityLearner(name="majrty")]
6
7voting = orange.ExampleTable("voting")
8res = orngTest.crossValidation(learners, voting)
9
10vehicle = orange.ExampleTable("vehicle")
11resVeh = orngTest.crossValidation(learners, vehicle)
Note: See TracBrowser for help on using the repository browser.