sklearn_utils/preprocessing/fold_change_preprocessing.py
def fit(self, X, y):
        '''
        :X: list of dict
        :y: labels
        '''
        self._avgs = average_by_label(X, y, self.reference_label)
        return self
def fit(self, X, y):
        '''
        :X: list of dict
        :y: labels
        '''
        self._avgs = average_by_label(X, y, self.reference_label)
        return self
def fit ( self , X , y ) : self . _avgs = average_by_label ( X , y , self . reference_label ) return self
:X: list of dict
        :y: labels
: X : list of dict : y : labels