![]() |
Standard inputs used by most metric computations.
tfma.metrics.StandardMetricInputs(
label: tfma.types.TensorValueMaybeDict
,
prediction: Union[types.TensorValueMaybeDict, Dict[Text, types.TensorValueMaybeDict]],
example_weight: tfma.types.TensorValueMaybeDict
,
features: Optional[Dict[Text, types.TensorValueMaybeDict]] = None
)
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.
Attributes | |
---|---|
label
|
Copy of LABELS_KEY extract. |
prediction
|
Copy of PREDICTIONS_KEY extract. |
example_weight
|
Copy of EXAMPLE_WEIGHT_KEY extract. |
features
|
Optional additional extracts. |