View source: R/PredictionExplanations.R
GetPredictionExplanationsInitializationFromJobId | R Documentation |
Prediction explanations initializations are a prerequisite for computing prediction explanations, and include a sample what the computed prediction explanations for a prediction dataset would look like.
GetPredictionExplanationsInitializationFromJobId(project, jobId, maxWait = 600)
project |
character. Either (1) a character string giving the unique alphanumeric identifier for the project, or (2) a list containing the element projectId with this identifier. |
jobId |
integer. Unique integer identifier pointing to the prediction explanations job
(returned for example by |
maxWait |
integer. The maximum time (in seconds) to wait for the model job to complete |
A named list which contains:
projectId character. ID of the project the feature belongs to.
modelId character. The unique alphanumeric model identifier.
predictionExplanationsSample list. List with sample of prediction explanations.
Each element of the list is information about prediction explanations for one data row.
For more information see GetPredictionExplanationsRows
.
## Not run:
projectId <- "59a5af20c80891534e3c2bde"
modelId <- "5996f820af07fc605e81ead4"
model <- GetModel(projectId, modelId)
jobId <- RequestPredictionExplanationsInitialization(model)
GetPredictionExplanationsInitializationFromJobId(projectId, jobId)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.