code: def __init__(
      self,
      bias_metrics_results: pd.DataFrame,
      estimated_groups_sizes: pd.Series,
      y_true: pd.Series,
      y_pred: pd.Series,
      y_scores: pd.Series,
      privileged_race: str,
      p_groups: pd.DataFrame,
      detect_gender_bias: bool,
      detect_race_bias: bool,
  ) -> None:
      self.bias_metrics_results = bias_metrics_results
      self.estimated_groups_sizes = estimated_groups_sizes
      self.y_true = y_true
      self.y_pred = y_pred
      self.y_scores = y_scores
      self.privileged_race = privileged_race
      self.p_groups = p_groups
      self.detect_gender_bias = detect_gender_bias
      self.detect_race_bias = detect_race_bias
  
file_path: bias-detector/bias_detector/BiasReport.py
imports: import pandas
  import numpy
  from matplotlib import pyplot
  from bias_detector.BiasConfidence import BiasConfidence
  from bias_detector.BiasMetric import get_bias_metric_description, get_bias_metric, get_bias_metric_short_description
  from bias_detector.common import get_p_others, get_other_groups_names, races
label_desc: Use image node_id 1 to create a new BiasReport object  with example: obj = BiasReport(bias_metrics_results, estimated_groups_sizes, y_true, y_pred, y_scores, privileged_race, p_groups, detect_gender_bias, detect_race_bias)