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/boosting.py

    r9936 r10580  
    9292        return BoostedClassifier(classifiers = classifiers, name=self.name,  
    9393            class_var=instances.domain.class_var) 
    94 BoostedLearner = Orange.misc.deprecated_members({"examples":"instances", "classVar":"class_var", "weightId":"weigth_id", "origWeight":"orig_weight"})(BoostedLearner) 
     94BoostedLearner = Orange.utils.deprecated_members({"examples":"instances", "classVar":"class_var", "weightId":"weigth_id", "origWeight":"orig_weight"})(BoostedLearner) 
    9595 
    9696class BoostedClassifier(orange.Classifier): 
     
    153153        return type(self), (self.classifiers, self.name, self.class_var), dict(self.__dict__) 
    154154 
    155 BoostedClassifier = Orange.misc.deprecated_members({"classVar":"class_var", "resultType":"result_type"})(BoostedClassifier) 
     155BoostedClassifier = Orange.utils.deprecated_members({"classVar":"class_var", "resultType":"result_type"})(BoostedClassifier) 
Note: See TracChangeset for help on using the changeset viewer.