source: orange/orange/doc/modules/tuningm.py @ 6538:a5f65d7f0b2c

Revision 6538:a5f65d7f0b2c, 453 bytes checked in by Mitar <Mitar@…>, 4 years ago (diff)

Made XPM version of the icon 32x32.

Line 
1import orange, orngTree, orngStat, orngWrap
2
3learner = orngTree.TreeLearner()
4data = orange.ExampleTable("voting")
5tuner = orngWrap.TuneMParameters(object=learner,
6                                 parameters=[("minSubset", [2, 5, 10, 20]),
7                                             ("measure", [orange.MeasureAttribute_gainRatio(), orange.MeasureAttribute_gini()])],
8                                 evaluate = orngStat.AUC)
9classifier = tuner(data)
Note: See TracBrowser for help on using the repository browser.