get_prediction {previsionio}R Documentation

Get a specific prediction from a prediction_id. Wait up until time_out is reached and wait wait_time between each retry.

Description

Get a specific prediction from a prediction_id. Wait up until time_out is reached and wait wait_time between each retry.

Usage

get_prediction(prediction_id, prediction_type, time_out = 3600, wait_time = 10)

Arguments

prediction_id

id of the prediction to be retrieved, can be obtained with get_experiment_version_predictions().

prediction_type

type of prediction among "validation" (not deployed model) and "deployment" (deployed model).

time_out

maximum number of seconds to wait for the prediction. 3 600 by default.

wait_time

number of seconds to wait between each retry. 10 by default.

Value

data.frame - predictions coming from prediction_id.


[Package previsionio version 11.7.0 Index]