powered by
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).
GetFeatureImpactForJobId(project, jobId, maxWait = 600)
character. The project the Feature Impact is part of.
character. The ID of the job (e.g. as returned from RequestFeatureImpact)
integer. The maximum time (in seconds) to wait for the model job to complete
A data frame with the following columns:
The name of the feature
The normalized impact score (largest value is 1)
The unnormalized impact score
# NOT RUN { model <- ListModels(project)[[1]] featureImpactJobId <- RequestFeatureImpact(model) featureImpact <- GetFeatureImpactForJobId(project, featureImpactJobId) # }
Run the code above in your browser using DataLab