f METHOD_NAME(
  self,
  num_thresholds: int = DEFAULT_NUM_THRESHOLDS,
  name: str = CONFUSION_MATRIX_PLOT_NAME,
  eval_config: Optional[config_pb2.EvalConfig] = None,
  model_name: str = '',
  output_name: str = '',
  sub_key: Optional[metric_types.SubKey] = None,
  aggregation_type: Optional[metric_types.AggregationType] = None,
  class_weights: Optional[Dict[int, float]] = None,
  example_weighted: bool = False,
  preprocessors: Optional[List[metric_types.Preprocessor]] = None,
  plot_key: Optional[metric_types.PlotKey] = None,
-> metric_types.MetricComputations: