Changeset 9976:e80c153a825a in orange


Ignore:
Timestamp:
02/07/12 20:57:20 (2 years ago)
Author:
ales_erjavec
Branch:
default
Message:

weightId -> weight_id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/clustering/mixture.py

    r9919 r9976  
    277277    """ Computes the gaussian mixture model from an Orange data-set. 
    278278    """ 
    279     def __new__(cls, data=None, weightId=None, **kwargs): 
     279    def __new__(cls, data=None, weight_id=None, **kwargs): 
    280280        self = object.__new__(cls) 
    281281        if data is not None: 
    282282            self.__init__(**kwargs) 
    283             return self.__call__(data, weightId) 
     283            return self.__call__(data, weight_id) 
    284284        else: 
    285285            return self 
     
    289289        self.init_function = init_function 
    290290         
    291     def __call__(self, data, weightId=None): 
     291    def __call__(self, data, weight_id=None): 
    292292        from Orange.preprocess import Preprocessor_impute, DomainContinuizer 
    293293#        data = Preprocessor_impute(data) 
Note: See TracChangeset for help on using the changeset viewer.