code: def _final_transform(self, ast_to_transform):
      link_function = self._get_link_function_name()
      link_function_lower = link_function.lower()
      supported_inversed_funs = self._get_supported_inversed_funs()
      if link_function_lower not in supported_inversed_funs:
          raise ValueError(
              f"Unsupported link function '{link_function}'"
          )
      fun = supported_inversed_funs[link_function_lower]
      return fun(ast_to_transform)
  
imports: import math
  import numpy
  from m2cgen import ast
  from m2cgen.assemblers import utils
  from m2cgen.assemblers.base import ModelAssembler
label_desc: Use image node_id 1 for calling the GLMMixin obj's underlying member method code with example usage: obj._final_transform(ast_to_transform) and returns: fun