Changeset 7278:b8563193fc68 in orange


Ignore:
Timestamp:
02/02/11 23:47:04 (3 years ago)
Author:
crt <crtomir.gorup@…>
Branch:
default
Convert:
11841acd10437d6dba71bb44e25442b6f3970937
Message:

added tree learner

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/ensemble/forest.py

    r7266 r7278  
    8989        if not learner: 
    9090            # tree learner assembled as suggested by Brieman (2001) 
    91             #TODOsmallTreeLearner = Orange.tree.TreeLearner( 
    92             #storeNodeClassifier = 0, storeContingencies=0,  
    93             #storeDistributions=1, minExamples=5).instance() 
     91            smallTreeLearner = Orange.classification.tree.TreeLearner( 
     92            storeNodeClassifier = 0, storeContingencies=0,  
     93            storeDistributions=1, minExamples=5).instance() 
    9494            smallTreeLearner.split.discreteSplitConstructor.measure = \ 
    9595                    smallTreeLearner.split.continuousSplitConstructor.measure =\ 
Note: See TracChangeset for help on using the changeset viewer.