SubmitActuals {datarobot} | R Documentation |
Submit actuals for processing.
Description
The actuals submitted will be used to calculate accuracy metrics. Values are not processed immediately and may take some time to propagate through deployment systems. Submission of actuals is limited to 10,000,000 actuals per hour. For time series deployments, total actuals = number of actuals * number of forecast distances. For example, submitting 10 actuals for a deployment with 50 forecast distances = 500 total actuals. For multiclass deployments, a similar calculation is made where total actuals = number of actuals * number of classes. For example, submitting 10 actuals for a deployment with 20 classes = 200 actuals.
Usage
SubmitActuals(actuals, deploymentId, batchSize = 10000)
Arguments
actuals |
dataframe. Data that describes actual values. Any strings stored as factors will
be coerced to characters with
|
deploymentId |
character. The ID of the deployment. |
batchSize |
integer. Optional. The max number of actuals in each batch request. Cannot exceed 10000. |
See Also
Other deployment accuracy functions:
GetDeploymentAccuracyOverTime()
,
GetDeploymentAccuracy()
,
GetDeploymentAssociationId()
Examples
## Not run:
deploymentId <- "5e319d2e422fbd6b58a5edad"
myActuals <- data.frame(associationId = c("439917"),
actualValue = c("True"),
wasActedOn = c(TRUE))
SubmitActuals(actuals = myActuals,
deploymentId)
## End(Not run)