UpdateDeploymentDriftTrackingSettings: Update drift tracking settings for a deployment.

View source: R/Deployment.R

UpdateDeploymentDriftTrackingSettingsR Documentation

Update drift tracking settings for a deployment.

Description

Update drift tracking settings for a deployment.

Usage

UpdateDeploymentDriftTrackingSettings(
  deploymentId,
  targetDriftEnabled = NULL,
  featureDriftEnabled = NULL,
  maxWait = 600
)

Arguments

deploymentId

character. The ID of the deployment.

targetDriftEnabled

logical. Optional. Set to TRUE to enable target drift. Set to FALSE to disable.

featureDriftEnabled

logical. Optional. Set to TRUE to enable feature drift. Set to FALSE to disable.

maxWait

integer. How long to wait (in seconds) for the computation to complete before returning a timeout error? (Default 600 seconds)

Value

A list with the following information on drift tracking:

  • associationId

  • predictionIntervals list. A list with two keys:

    • enabled. 'TRUE' if prediction intervals are enabled and 'FALSE' otherwise.

    • percentiles list. A list of percentiles, if prediction intervals are enabled.

  • targetDrift list. A list with one key, 'enabled', which is 'TRUE' if target drift is enabled, and 'FALSE' otherwise.

  • featureDrift list. A list with one key, 'enabled', which is 'TRUE' if feature drift is enabled, and 'FALSE' otherwise.

Examples

## Not run: 
  deploymentId <- "5e319d2e422fbd6b58a5edad"
  UpdateDeploymentDriftTrackingSettings(deploymentId, targetDriftEnabled = TRUE)

## End(Not run)

datarobot documentation built on May 29, 2024, 4:36 a.m.