The advanced tuning feature allows you to manually set model parameters and override the DataRobot default selections.
StartTuningSession(model)
A function that can be used to tune the model. The function will take model
,
the model object to tune, and will have individual arguments for each tunable hyperparameter
that are each set to the default value for that hyperparameter. Furthermore, the function
takes tuningDescription
which can be used to describe the hyperparameter tuning
taking place for future reference. The function itself will return a job ID that can be used
to get the tuned model.
dataRobotModel. A DataRobot model object to get tuning parameters for.
RunInteractiveTuning
if (FALSE) {
projectId <- "59a5af20c80891534e3c2bde"
modelId <- "5996f820af07fc605e81ead4"
myXGBModel <- GetModel(projectId, modelId)
RunTune <- StartTuningSession(myXGBModel)
tuningJob <- RunTune(myXGBModel, colsample_bytree = 0.4, colsample_bylevel = 0.8)
tunedModel <- GetModelFromJobId(projectId, tuningJob)
}
Run the code above in your browser using DataLab