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-tuning1.py

    r10634 r10716  
    33learner = Orange.classification.tree.TreeLearner() 
    44voting = Orange.data.Table("voting") 
    5 tuner = Orange.optimization.Tune1Parameter(learner=learner, 
     5tuner = Orange.tuning.Tune1Parameter(learner=learner, 
    66                           parameter="min_subset", 
    77                           values=[1, 2, 3, 4, 5, 10, 15, 20], 
     
    2020learner = Orange.classification.tree.TreeLearner(min_subset=10).instance() 
    2121voting = Orange.data.Table("voting") 
    22 tuner = Orange.optimization.Tune1Parameter(learner=learner, 
     22tuner = Orange.tuning.Tune1Parameter(learner=learner, 
    2323                    parameter=["split.continuous_split_constructor.min_subset", 
    2424                               "split.discrete_split_constructor.min_subset"], 
Note: See TracChangeset for help on using the changeset viewer.