Ignore:
Timestamp:
02/06/12 20:54:39 (2 years ago)
Author:
blaz <blaz.zupan@…>
Branch:
default
rebase_source:
ccd9a311a61f58981c2a09cc02dd5a9a6fedee1a
Message:

EntropyDiscretization -> Entropy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/classification/rules.py

    r9738 r9857  
    11491149        self.rule_finder.rule_stoppingValidator = RuleValidator_LRS(alpha=1.0, min_quality=0., max_rule_complexity=max_rule_complexity - 1, min_coverage=min_coverage) 
    11501150        self.refiner = RuleBeamRefiner_Selector() 
    1151         self.refiner_arguments = SelectorAdder(discretizer=Orange.feature.discretization.EntropyDiscretization(forceAttribute=1, 
     1151        self.refiner_arguments = SelectorAdder(discretizer=Orange.feature.discretization.Entropy(forceAttribute=1, 
    11521152                                                                                           maxNumberOfIntervals=2)) 
    11531153        self.prune_arguments = prune_arguments 
     
    22212221    """ 
    22222222    def __init__(self, example=None, not_allowed_selectors=[], argument_id=None, 
    2223                  discretizer=Orange.core.EntropyDiscretization(forceAttribute=True)): 
     2223                 discretizer=Orange.feature.discretization.Entropy(forceAttribute=True)): 
    22242224        # required values - needed values of attributes 
    22252225        self.example = example 
Note: See TracChangeset for help on using the changeset viewer.