Ignore:
Timestamp:
07/15/13 14:55:24 (9 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed pickling of Boosted/Bagged/StackedLearner.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/ensemble/bagging.py

    r10963 r11630  
    6969        return BaggedClassifier(classifiers=classifiers, name=self.name, \ 
    7070                    class_var=instances.domain.class_var) 
     71 
     72    def __reduce__(self): 
     73        return type(self), (self.learner,), dict(self.__dict__) 
    7174 
    7275BaggedLearner = Orange.utils.deprecated_members( 
Note: See TracChangeset for help on using the changeset viewer.