code: def __init__(self, model, estimator_params, base_score=0.0):
      super().__init__(model)
      self._all_estimator_params = estimator_params
      self._base_score = base_score
  
      self._output_size = 1
      self._is_classification = False
  
      model_class_name = type(model).__name__
      if model_class_name in self.classifier_names:
          self._is_classification = True
          if model.n_classes_ > 2:
              self._output_size = model.n_classes_
  
imports: import json
  import math
  import numpy
  from m2cgen import ast
  from m2cgen.assemblers import utils
  from m2cgen.assemblers.base import ModelAssembler
  from m2cgen.assemblers.linear import _linear_to_ast
label_desc: Use image node_id 1 to create a new BaseBoostingAssembler object from inherited base classes: ModelAssembler with example: obj = BaseBoostingAssembler(model, estimator_params, base_score)