def neural_result(self, input):
        """
        Call the neural network, and translates its output to a match result.
        """
        n_output = self.network.activate(input)
        if n_output >= 0.5:
            return 2
        else:
            return 1
dataset/ETHPy150Open fisadev/afa_cup_learning/learn.py/CrystalBall.neural_result/original