Ignore:
Timestamp:
02/25/12 23:45:38 (2 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Message:

Fixed problems due to refactoring of classification.rules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/rules-customized.py

    r9823 r10377  
    88 
    99learner = Orange.classification.rules.RuleLearner() 
    10 learner.rule_finder = Orange.classification.rules.RuleBeamFinder() 
     10learner.rule_finder = Orange.classification.rules.BeamFinder() 
    1111learner.rule_finder.evaluator = Orange.classification.rules.MEstimateEvaluator(m=50) 
    1212 
     
    1818 
    1919learner.rule_finder.rule_stopping_validator = \ 
    20     Orange.classification.rules.RuleValidator_LRS(alpha=0.01, 
     20    Orange.classification.rules.Validator_LRS(alpha=0.01, 
    2121                             min_coverage=10, max_rule_complexity = 2) 
    2222learner.rule_finder.rule_filter = \ 
    23     Orange.classification.rules.RuleBeamFilter_Width(width = 50) 
     23    Orange.classification.rules.BeamFilter_Width(width = 50) 
    2424 
    2525classifier = learner(titanic) 
Note: See TracChangeset for help on using the changeset viewer.