class_docstr: Base class for evaluation metrics parser.
class_docstr_tok: ["Base","class","for","evaluation","metrics","parser","."]
docstr: Custom parser need to inherit from ParserBase and must supply a _parse method to convert the raw data into model card format.
  
      e.g. {
          "metric_groups": [
          {
              "name": "binary_classification_metrics",
              "metric_data": []
          }
      }
  Args:
      json_data (dict): Raw metric data.
docstr_tok: ["Custom","parser","need","to","inherit","from","ParserBase","and","must","supply","a","_parse","method","to","convert","the","raw","data","into","model","card","format",".","e.g",".","{","``","metric_groups","''",":","[","{","``","name","''",":","``","binary_classification_metrics","''",",","``","metric_data","''",":","[","]","}","}","Args",":","json_data","(","dict",")",":","Raw","metric","data","."]
code: def _parse(self, json_data: dict):
      """Custom parser need to inherit from ParserBase and must supply a _parse method to convert the raw data into model card format.
  
          e.g. {
              "metric_groups": [
              {
                  "name": "binary_classification_metrics",
                  "metric_data": []
              }
          }
      Args:
          json_data (dict): Raw metric data.
      """  # noqa E501 # pylint: disable=line-too-long
      pass
  
imports: from __future__ import absolute_import
  from abc import ABC, abstractmethod
  from enum import Enum
  from collections import defaultdict
  from typing import Union, List
  from sagemaker.model_card.schema_constraints import PYTHON_TYPE_TO_METRIC_VALUE_TYPE, METRIC_VALUE_TYPE_MAP, MetricTypeEnum
label_desc: Use image node_id 2 for calling the ParserBase obj's underlying member method code with example usage: obj._parse(json_data) without return types