code: def _final_transform(self, ast_to_transform):
      if self.average_output:
          coef = 1 / self.n_iter
          return utils.apply_bin_op(
              ast_to_transform, ast.NumVal(coef), ast.BinNumOpType.MUL
          )
      else:
          return super()._final_transform(ast_to_transform)
  
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 2 for calling the LightGBMModelAssembler obj's underlying member method code with example usage: obj._final_transform(ast_to_transform) and returns: utils, super