def score_function(self, x, W):

        '''
        Score function to calculate score
        '''

        score = super(BinaryClassifier, self).score_function(x, W)
        if score >= 0.5:
            score = 1.0
        else:
            score = -1.0

        return score
dataset/ETHPy150Open fukuball/fuku-ml/FukuML/LogisticRegression.py/BinaryClassifier.score_function/original