Changeset 7792:94da7670501a in orange


Ignore:
Timestamp:
03/31/11 12:20:34 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
5f2ccd4f6aba0d8c496b614911ff368f05a573d7
Message:

Pass a weight parameter to the small tree learner.

File:
1 edited

Legend:

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

    r7728 r7792  
    135135            data = instances.getitems(selection) 
    136136            # build the model from the bootstrap sample 
    137             classifiers.append(learner(data)) 
     137            classifiers.append(learner(data, weight)) 
    138138            if self.callback: 
    139139                self.callback() 
Note: See TracChangeset for help on using the changeset viewer.