class_docstr: Base class for SVM.
code: def __init__(self, **kwargs):  # type: ignore
      self.atts = SVMAttributes()
  
      for name, value in kwargs.items():
          self.atts.add(name, value)
  
      if self.atts.kernel_params:  # type: ignore
          self.gamma_ = self.atts.kernel_params[0]  # type: ignore
          self.coef0_ = self.atts.kernel_params[1]  # type: ignore
          self.degree_ = int(self.atts.kernel_params[2])  # type: ignore
      else:
          self.gamma_ = 0.0
          self.coef0_ = 0.0
          self.degree_ = 0
  
file_path: onnx/onnx/reference/ops/aionnxml/op_svm_helper.py
imports: from typing import Any
  import numpy
label_desc: Use image node_id 1 to create a new SVMCommon object  with example: obj = SVMCommon()