View source: R/FeatureImpact.R
GetFeatureImpactForJobId | R Documentation |
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)
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 |
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.
## Not run:
model <- ListModels(project)[[1]]
featureImpactJobId <- RequestFeatureImpact(model)
featureImpact <- GetFeatureImpactForJobId(project, featureImpactJobId)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.