class_docstr: Huber loss.
  
  Variant of the squared loss that is robust to outliers.
  
  Parameters
  ----------
  epsilon
  
  References
  ----------
  1. [Huber loss function - Wikipedia](https://en.wikipedia.org/wiki/Huber_Loss_Function)
class_docstr_tok: ["Huber","loss",".","Variant","of","the","squared","loss","that","is","robust","to","outliers",".","Parameters","--","--","--","--","--","epsilon","References","--","--","--","--","--","1",".","[","Huber","loss","function","-","Wikipedia","]","(","https",":","\/\/en.wikipedia.org\/wiki\/Huber_Loss_Function",")"]
code: def __init__(self, epsilon=0.1):
      self.epsilon = epsilon
  
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 1 to create a new Huber object from inherited base classes: RegressionLoss with example: obj = Huber(epsilon)