class_docstr: The L2 (ridge) penalty.
class_docstr_tok: ["The","L2","(","ridge",")","penalty","."]
code: def __init__(self, weights=1.0):
      super().__init__(weights)
  
imports: import numpy
label_desc: Use image node_id 1 to create a new L2 object from inherited base classes: Penalty with example: obj = L2(weights)