Changeset 7562:c9f29703fad8 in orange


Ignore:
Timestamp:
02/04/11 22:50:41 (3 years ago)
Author:
miha <miha.stajdohar@…>
Branch:
default
Convert:
9252541e72a9da9589907824a5d9128206c9af62
Message:

refactor to new Orange

Location:
orange/doc/Orange/rst/code
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orange/doc/Orange/rst/code/optimization-tuning1.py

    r7547 r7562  
    2222print "Tuned tree: %5.3f" % AUCs[1] 
    2323 
    24  
    2524learner = Orange.classification.tree.TreeLearner(minSubset=10).instance() 
    2625data = Orange.data.Table("voting") 
  • orange/doc/Orange/rst/code/optimization-tuningm.py

    r7547 r7562  
    1111                         ("measure", [Orange.core.MeasureAttribute_gainRatio(),  
    1212                                      Orange.core.MeasureAttribute_gini()])], 
    13              evaluate = scoring.AUC) 
     13             evaluate = Orange.evaluation.scoring.AUC) 
    1414 
    1515classifier = tuner(data) 
Note: See TracChangeset for help on using the changeset viewer.