Changeset 8741:abc2ca034793 in orange


Ignore:
Timestamp:
08/23/11 14:50:23 (3 years ago)
Author:
martin <martin@…>
Branch:
default
Convert:
07090048548075b2c20bf064b32cf1a0d34c546e
Message:

Modified ABCN2 with respect to the new orange

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/classification/rules.py

    r8247 r8741  
    617617from orngABML import * 
    618618 
    619  
    620619class LaplaceEvaluator(RuleEvaluator): 
    621620    """ 
     
    13391338            return None 
    13401339         
    1341         # get argumentated examples 
     1340        # get argumented examples 
    13421341        return ArgumentFilter_hasSpecial()(examples, self.argument_id, target_class = 0) 
    13431342 
     
    15271526        cn2_learner.rule_finder = RuleBeamFinder() 
    15281527        cn2_learner.rule_finder.refiner = SelectorArgConditions(crit_example, allowed_conditions) 
    1529         cn2_learner.rule_finder.evaluator = Orange.classification.rules.MEstimate(self.rule_finder.evaluator.m) 
     1528        cn2_learner.rule_finder.evaluator = Orange.classification.rules.MEstimateEvaluator(self.rule_finder.evaluator.m) 
    15301529        rule = cn2_learner.rule_finder(examples,weight_id,0,RuleList()) 
    15311530        return rule.filter.conditions 
Note: See TracChangeset for help on using the changeset viewer.