Ignore:
Timestamp:
03/20/12 19:53:04 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Changed the way callback function is called in RandomForestLearner (the way it is documented). Fixed the widgets correspondingly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/ensemble/forest.py

    r10582 r10587  
    158158            classifiers.append(learner(data, weight)) 
    159159            if self.callback: 
    160                 self.callback() 
    161             # if self.callback: self.callback((i+1.)/self.trees) 
     160                self.callback((i+1.)/self.trees) 
    162161 
    163162        return RandomForestClassifier(classifiers = classifiers, name=self.name,\ 
Note: See TracChangeset for help on using the changeset viewer.