code: def predict_from_model(
      ctx, role, input_model, test_data, test_output_data
  ):
      logger.info(f"sshe lr guest start predict")
      sub_ctx = ctx.sub_ctx("predict")
      model = input_model.read()
      module = SSHELogisticRegression.from_model(model)
      # if module.threshold != 0.5:
      #    module.threshold = threshold
      test_data = test_data.read()
      predict_df = module.predict(sub_ctx, test_data)
      if role.is_guest:
          predict_result = tools.add_dataset_type(
              predict_df, consts.TEST_SET
          )
          test_output_data.write(predict_result)
  
file_path: FATE/python/fate/components/components/sshe_lr.py
imports: import logging
  from fate.arch import Context
  from fate.arch.dataframe import DataFrame
  from fate.components.components.utils import consts, tools
  from fate.components.core import GUEST, HOST, Role, cpn, params
  from fate.ml.glm.hetero.sshe import SSHELogisticRegression
label_desc: Use image node_id 6 for calling a global function with example usage: predict_from_model(ctx, role, input_model, test_data, test_output_data) without return types