open-inference-spec

Actual

An actual is a column that captures the ground truth or actual value of the prediction. This is used to evaluate the model’s performance. Since the actual is typically not known at inference time, this is typically added to the records at a later time. Actual columns are prefixed with the category :actual: in the column name and typically is symmetric with the prediction columns. For example, if there is a :prediction.float.score: column, then there can be a corresponding :actual.float.score: column.

Similar to predictions, actuals have a few reserved specifiers that can be used to capture specific reserved information about the actual. The following is a list of specifiers that are supported by OpenInference:

Here is an example of a set of actual columns:

</tbody> If both predictions and actuals are present, these records can be used to evaluate the model's performance.
:actual.float.score:confidence :actual.str.label:animal_type
0.8 cat
0.9 dog
0.2 cat