code: def filter_metrics(metrics, filter_type, threshold, take_high=True):
      if filter_type == "top_k":
          return StandardSelection.filter_by_top_k(
              metrics, threshold, take_high
          )
      elif filter_type == "threshold":
          return StandardSelection.filter_by_threshold(
              metrics, threshold, take_high
          )
      elif filter_type == "top_percentile":
          return StandardSelection.filter_by_percentile(
              metrics, threshold, take_high
          )
      else:
          raise ValueError(
              f"filter_type {filter_type} not supported, please check"
          )
  
imports: import copy
  import logging
  import math
  import random
  import numpy
  import pandas
  from fate.arch import Context
  from ..abc.module import HeteroModule, Module
label_desc: Use image node_id 12 for calling the StandardSelection obj's underlying member method code with example usage: obj.filter_metrics(metrics, filter_type, threshold, take_high) and returns: StandardSelection, StandardSelection, StandardSelection