class_docstr: Creates histogram from labels, predictions, and example weights.
class_docstr_tok: ["Creates","histogram","from","labels",",","predictions",",","and","example","weights","."]
code: def extract_output(
      self, accumulator: _CalibrationHistogramCombinerAcctype
  ) -> Dict[metric_types.PlotKey, Histogram]:
      accumulator = list(accumulator.values())
      accumulator.sort(key=operator.attrgetter("bucket_id"))
      return {self._key: accumulator}
  
file_path: model-analysis/tensorflow_model_analysis/metrics/calibration_histogram.py
imports: import dataclasses
  import operator
  from typing import Dict, Iterable, List, Optional
  import apache_beam
  from tensorflow_model_analysis.metrics import metric_types
  from tensorflow_model_analysis.metrics import metric_util
  from tensorflow_model_analysis.proto import config_pb2
label_desc: Use image node_id 6 for calling the _CalibrationHistogramCombiner obj's underlying member method code with example usage: obj.extract_output(accumulator) and returns: dict