Learn R Programming

datarobot (version 2.8.0)

RequestFrozenModel: Train a new frozen model with parameters from specified model

Description

Frozen models use the same tuning parameters as their parent model instead of independently optimizing them to allow efficiently retraining models on larger amounts of the training data.

Usage

RequestFrozenModel(model, samplePct)

Arguments

model

An S3 object of class dataRobotModel like that returned by the function GetModel, or each element of the list returned by the function ListModels.

samplePct

Numeric, specifying the percentage of the training dataset to be used in building the new model

Value

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

Details

Note : For datetime partitioned projects, use ``RequestFrozenDatetimeModel` instead

Examples

Run this code
# NOT RUN {
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  model <- GetModel(projectId, modelId)
  RequestFrozenModel(model, samplePct = 10)
# }

Run the code above in your browser using DataLab