RequestBlender: Submit a job for creating blender model. Upon success, the...

View source: R/Blenders.R

RequestBlenderR Documentation

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)

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.

Value

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

Examples

## Not run: 
projectId <- "59a5af20c80891534e3c2bde"
modelsToBlend <- c("5996f820af07fc605e81ead4", "59a5ce3301e9f0296721c64c")
RequestBlender(projectId, modelsToBlend, "GLM")

## End(Not run)

datarobot documentation built on May 29, 2024, 4:36 a.m.