code: def __init__(self, *args, **kwargs):
      if args and isinstance(args[0], self._get_lgbm_class()):
          model = args[0]
          super().__init__(**model.get_params())
          self._copy_extra_params(model, self)
      else:
          super().__init__(*args, **kwargs)
  
imports: import enum
  import itertools
  from collections import namedtuple
  import numpy
  import pandas
  from ....dataframe import DataFrame, Series
  from ....tensor import tensor
label_desc: Use image node_id 1 to create a new LGBMScikitLearnBase object  with example: obj = LGBMScikitLearnBase()