code: def get_single_val_binary_metrics(threshold=0.5):
      binary_ensembles = MetricEnsemble()
      binary_ensembles.add_metric(classi.AUC()).add_metric(
          classi.BinaryAccuracy(threshold=threshold)
      ).add_metric(classi.BinaryF1Score(threshold=threshold))
      binary_ensembles.add_metric(
          classi.BinaryPrecision(threshold=threshold)
      ).add_metric(classi.BinaryRecall(threshold=threshold))
      return binary_ensembles
  
file_path: FATE/python/fate/ml/evaluation/tool.py
imports: import inspect
  from fate.ml.evaluation import classification
  from fate.ml.evaluation import regression
  from fate.ml.evaluation.metric_base import Metric, MetricEnsemble
label_desc: Use image node_id 3 for calling a global function with example usage: get_single_val_binary_metrics(threshold) and returns: binary_ensembles