class_docstr: The L2 (ridge) penalty.
class_docstr_tok: ["The","L2","(","ridge",")","penalty","."]
code: def func(self, params):
      return np.sum(self.weights * self.alpha * params**2)
  
imports: import numpy
label_desc: Use image node_id 2 for calling the L2 obj's underlying member method code with example usage: obj.func(params) and returns: np