datarobot (version 2.4.0)

RequestPredictionsForDataset: Request predictions against a previously uploaded dataset

Description

Request predictions against a previously uploaded dataset

Usage

RequestPredictionsForDataset(project, modelId, datasetId)

Arguments

project
Either (1) a character string giving the unique alphanumeric identifier for the project, or (2) a list containing the element projectId with this identifier.
modelId
The ID of the model to use to make predictions
datasetId
The ID of the dataset to make predictions against (as uploaded from UploadPredictionDataset)

Value

predictJobId to be used by GetPredictions function to retrieve the model predictions.

Examples

Run this code
## Not run: 
# dataset <- UploadPredictionDataset(project, diamonds_small)
# model <- GetAllModels(project)[[1]]
# modelId <- model$modelId
# predictJobId <- RequestPredictionsForDataset(project, modelId, ds$id)
# predictions <- GetPredictions(project, predictJobId)
# ## End(Not run)

Run the code above in your browser using DataLab