class_docstr: Epsilon-insensitive hinge loss.
  
  Parameters
  ----------
  eps
class_docstr_tok: ["Epsilon-insensitive","hinge","loss",".","Parameters","--","--","--","--","--","eps"]
code: def __call__(self, y_true, y_pred):
      y_true = y_true * 2 - 1  # [0, 1] -> [-1, 1]
  
      if isinstance(y_true, np.ndarray):
          return np.maximum(np.abs(y_pred - y_true) - self.eps, 0)
  
      return max(math.fabs(y_pred - y_true) - self.eps, 0)
  
imports: from __future__ import annotations
  import math
  import numpy
  from scipy import special
  from river import base, utils
  from river.optim.base import Loss
label_desc: Use image node_id 2 for calling the EpsilonInsensitiveHinge obj's underlying member method code with example usage: obj.__call__(y_true, y_pred) and returns: max, np