(self, reward)
return np.sign(reward)
Bin reward to {+1, 0, -1} by its sign.
Bin reward to {+1, 0, -1} by its sign.
Bin reward to { + 1 0 - 1 } by its sign .
def _reward(self, reward):
        """Bin reward to {+1, 0, -1} by its sign."""
        return np.sign(reward)
def _reward ( self , reward ) : return np . sign ( reward )