tfma.metrics.StandardMetricInputs

Standard inputs used by most metric computations.

All values are copies of the respective values that were stored in the extracts. These may be multi-level dicts if a multi-model evalations was run or the models are multi-output models.

label Copy of LABELS_KEY extract.
prediction Copy of PREDICTIONS_KEY extract.
example_weight Copy of EXAMPLE_WEIGHT_KEY extract.
features Optional additional extracts.