docstr: if metrics is not None:
  if len(metrics) == 1 and metrics[0] == "describe":
      self.inner_metric_names = ['count', 'mean', 'std', 'min', '25%', '50%', '75%', 'max']
  else:
      self.inner_metric_names = metrics
docstr_tok: ["if","metrics","is","not","None",":","if","len","(","metrics",")","==","1","and","metrics","[","0","]","==","``","describe","''",":","self.inner_metric_names","=","[","'count","'",",","'mean","'",",","'std","'",",","'min","'",",","'25","%","'",",","'50","%","'",",","'75","%","'",",","'max","'","]","else",":","self.inner_metric_names","=","metrics"]
code: def __init__(self, ddof=1, bias=True, relative_error=1e-3):
      """if metrics is not None:
      if len(metrics) == 1 and metrics[0] == "describe":
          self.inner_metric_names = ['count', 'mean', 'std', 'min', '25%', '50%', '75%', 'max']
      else:
          self.inner_metric_names = metrics"""
      self.ddof = ddof
      self.bias = bias
      self.relative_error = relative_error
      self.inner_metric_names = []
      self.metrics_summary = None
      self._count = None
      self._nan_count = None
      self._mean = None
      self._describe = None
      self._quantile = None
      self._q_pts = None
  
imports: import logging
  import re
  from typing import List
  import pandas
  from fate.arch import Context
  from ..abc.module import Module
label_desc: Use image node_id 1 to create a new StatisticsSummary object from inherited base classes: Module with example: obj = StatisticsSummary(ddof, bias, relative_error)