GetDeploymentAssociationId | R Documentation |
The association ID of a deployment is a foreign key for your prediction dataset that will be used to match up actual values with those predictions. The ID should correspond to an event for which you want to track the outcome.
GetDeploymentAssociationId(deployment)
UpdateDeploymentAssociationId(
deployment,
columnNames = c(),
requiredInPredictionRequests = NULL,
maxWait = 600
)
deployment |
An S3 object representing a model deployment, or the unique ID of such a deployment. |
columnNames |
character. Optional. Name(s) of the column(s) in your dataset that will be used to map actuals to predictions and determine accuracy. Note: This cannot be changed after the model has served predictions and the API will return an error. |
requiredInPredictionRequests |
logical. Optional. Whether the association ID is required in a prediction request. |
maxWait |
integer. How long to wait (in seconds) for the computation to complete before returning a timeout error? (Default 600 seconds) |
These functions are convenience methods to get and set the association ID settings for a deployment.
An object classed dataRobotDeploymentAssociationIdSettings
that contains:
character. The columns that can be used as association IDs.
logical. Whether the association ID is required in a prediction request.
UpdateDeploymentAssociationId()
: Updates the association ID settings of
a deployment. It will only update those settings that correspond to set
arguments. This function will throw an error if the update fails and return
the updated settings on success.
Other deployment accuracy functions:
GetDeploymentAccuracyOverTime()
,
GetDeploymentAccuracy()
,
SubmitActuals()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.