Class MetricxInstance (1.82.0)

MetricxInstance(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Spec for MetricX instance - The fields used for evaluation are dependent on the MetricX version.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
prediction str
Required. Output of the evaluated model. This field is a member of oneof_ _prediction.
reference str
Optional. Ground truth used to compare against the prediction. This field is a member of oneof_ _reference.
source str
Optional. Source text in original language. This field is a member of oneof_ _source.

Methods

MetricxInstance

MetricxInstance(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Spec for MetricX instance - The fields used for evaluation are dependent on the MetricX version.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields