datarobot (version 2.18.6)

GetFeatureImpactForJobId: Retrieve completed Feature Impact results given a job ID

Description

This will wait for the Feature Impact job to be completed (giving an error if the job is not a Feature Impact job and an error if the job errors).

Usage

GetFeatureImpactForJobId(project, jobId, maxWait = 600)

Value

A data frame with the following columns:

  • featureName character. The name of the feature.

  • impactNormalized numeric. The normalized impact score (largest value is 1).

  • impactUnnormalized numeric. The unnormalized impact score.

  • redundantWith character. A feature that makes this feature redundant, or NA if the feature is not redundant.

Arguments

project

character. The project the Feature Impact is part of.

jobId

character. The ID of the job (e.g. as returned from RequestFeatureImpact)

maxWait

integer. The maximum time (in seconds) to wait for the model job to complete

Examples

Run this code
if (FALSE) {
  model <- ListModels(project)[[1]]
  featureImpactJobId <- RequestFeatureImpact(model)
  featureImpact <- GetFeatureImpactForJobId(project, featureImpactJobId)
}

Run the code above in your browser using DataLab