FukuML/DecisionStump.py
def score_function(self, x, W):
        # need refector

        '''
        Score function to calculate score
        '''

        score = self.sign * np.sign(x[self.feature_index] - self.theta)

        return score
def score_function(self, x, W):
        # need refector

        '''
        Score function to calculate score
        '''

        score = self.sign * np.sign(x[self.feature_index] - self.theta)

        return score
def score_function ( self , x , W ) : # need refector score = self . sign * np . sign ( x [ self . feature_index ] - self . theta ) return score
Score function to calculate score
Score function to calculate score