def score_function(self, x, W):

        score = np.sign(np.inner(x, W))

        return score
Score function to calculate score
dataset/ETHPy150Open fukuball/fuku-ml/FukuML/LinearRegression.py/BinaryClassifier.score_function