class_docstr: The pseudo-Huber penalty.
class_docstr_tok: ["The","pseudo-Huber","penalty","."]
code: def func(self, params):
      v = np.sqrt(1 + (params / self.dlt) ** 2)
      v -= 1
      v *= self.dlt**2
      return np.sum(self.weights * self.alpha * v, 0)
  
imports: import numpy
label_desc: Use image node_id 2 for calling the PseudoHuber obj's underlying member method code with example usage: obj.func(params) and returns: np