Learn R Programming

datarobot (version 2.18.6)

RequestBlender: Submit a job for creating blender model. Upon success, the new job will be added to the end of the queue.

Description

This function requests the creation of a blend of several models in specified DataRobot project. The function also allows the user to specify method used for blending. This function returns an integer modelJobId value, which can be used by the GetBlenderModelFromJobId function to return the full blender model object.

Usage

RequestBlender(project, modelsToBlend, blendMethod)

Value

An integer value that can be used as the modelJobId parameter in subsequent calls to the GetBlenderModelFromJobId function.

Arguments

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.

modelsToBlend

character. Vector listing the model Ids to be blended.

blendMethod

character. Parameter specifying blending method. See acceptable values within BlendMethods.

Examples

Run this code
if (FALSE) {
projectId <- "59a5af20c80891534e3c2bde"
modelsToBlend <- c("5996f820af07fc605e81ead4", "59a5ce3301e9f0296721c64c")
RequestBlender(projectId, modelsToBlend, "GLM")
}

Run the code above in your browser using DataLab