Ignore:
Timestamp:
03/19/12 12:14:20 (2 years ago)
Author:
markotoplak
Branch:
default
rebase_source:
92659cf777626f5bc411357989a821dd2083e466
Message:

Moved deprecation functions, progress bar support and environ into Orange.utils. Orange imports cleanly, although it is not tested yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/ensemble/bagging.py

    r9923 r10580  
    6868        return BaggedClassifier(classifiers = classifiers, name=self.name,\ 
    6969                    class_var=instances.domain.class_var) 
    70 BaggedLearner = Orange.misc.deprecated_members({"weightId":"weight_id", "examples":"instances"})(BaggedLearner) 
     70BaggedLearner = Orange.utils.deprecated_members({"weightId":"weight_id", "examples":"instances"})(BaggedLearner) 
    7171 
    7272class BaggedClassifier(orange.Classifier): 
     
    149149    def __reduce__(self): 
    150150        return type(self), (self.classifiers, self.name, self.class_var), dict(self.__dict__) 
    151 BaggedClassifier = Orange.misc.deprecated_members({"example":"instance", "classVar":"class_var","resultType":"result_type"})(BaggedClassifier) 
     151BaggedClassifier = Orange.utils.deprecated_members({"example":"instance", "classVar":"class_var","resultType":"result_type"})(BaggedClassifier) 
Note: See TracChangeset for help on using the changeset viewer.