Ignore:
Timestamp:
04/03/12 10:49:23 (2 years ago)
Author:
anze <anze.staric@…>
Branch:
default
Message:

Fixed failing tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/optimization-thresholding1.py

    r9823 r10716  
    44 
    55learner = Orange.classification.bayes.NaiveLearner() 
    6 thresh = Orange.optimization.ThresholdLearner(learner=learner) 
    7 thresh80 = Orange.optimization.ThresholdLearner_fixed(learner=learner,  
     6thresh = Orange.tuning.ThresholdLearner(learner=learner) 
     7thresh80 = Orange.tuning.ThresholdLearner_fixed(learner=learner, 
    88                                                      threshold=0.8) 
    99res = Orange.evaluation.testing.cross_validation([learner, thresh, thresh80], bupa) 
Note: See TracChangeset for help on using the changeset viewer.