Tangram.LogPredictionArgs (tangram v0.7.0) View Source
This is the type of the argument to Tangram.log_prediction
and Tangram.enqueue_log_prediction
which specifies the details of the prediction to log.
identifier
This is a unique identifier for the prediction, which will associate it with a true value event and allow you to look it up in the app.
input
This is the same Tangram.predict_input
value that you passed to Tangram.predict
.
options
This is the same Tangram.PredictOptions
value that you passed to Tangram.predict
.
output
This is the output returned by Tangram.predict
.
Link to this section Summary
Link to this section Types
Specs
t() :: %Tangram.LogPredictionArgs{ identifier: String.t(), input: Tangram.predict_input(), options: Tangram.PredictOptions.t() | nil, output: Tangram.predict_output() }