code: def test_bin_class_sigmoid_output_transform():
      estimator = lgb.LGBMClassifier(
          n_estimators=1, random_state=1, max_depth=1, sigmoid=0.5
      )
      utils.get_binary_classification_model_trainer()(estimator)
  
      assembler = LightGBMModelAssembler(estimator)
      actual = assembler.assemble()
  
      sigmoid = ast.SigmoidExpr(
          ast.BinNumExpr(
              ast.NumVal(0.5),
              ast.IfExpr(
                  ast.CompExpr(
                      ast.FeatureRef(20),
                      ast.NumVal(16.795),
                      ast.CompOpType.GT,
                  ),
                  ast.NumVal(0.5500419366076967),
                  ast.NumVal(1.2782342253678096),
              ),
              ast.BinNumOpType.MUL,
          ),
          to_reuse=True,
      )
  
      expected = ast.VectorVal(
          [
              ast.BinNumExpr(
                  ast.NumVal(1), sigmoid, ast.BinNumOpType.SUB
              ),
              sigmoid,
          ]
      )
  
      assert utils.cmp_exprs(actual, expected)
  
file_path: m2cgen/tests/assemblers/test_boosting_lightgbm.py
imports: import lightgbm
  import numpy
  import pytest
  from m2cgen import ast
  from m2cgen.assemblers import LightGBMModelAssembler
  from tests import utils
label_desc: Use image node_id 11 for calling a global function with example usage: test_bin_class_sigmoid_output_transform() without return types