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

1
GetFeatureImpactForJobId(project, jobId, maxWait = 60)

Arguments

project

The project the Feature Impact is part of.

jobId

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

Value

A data frame with the following columns:

featureName

The name of the feature

impactNormalized

The normalized impact score (largest value is 1)

impactUnnormalized

The unnormalized impact score

Examples

1
2
3
4
5
6
## Not run: 
model <- GetAllModels(project)[[1]]
featureImpactJobId <- RequestFeatureImpact(model)
featureImpact <- GetFeatureImpactForJobId(project, featureImpactJobId)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.