StartTuningSession {datarobot} | R Documentation |
Create a function to initiate hyperparameter tuning for a particular model.
Description
The advanced tuning feature allows you to manually set model parameters and override the DataRobot default selections.
Usage
StartTuningSession(model)
Arguments
model |
dataRobotModel. A DataRobot model object to get tuning parameters for. |
Value
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.
See Also
RunInteractiveTuning
Examples
## Not run:
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)
## End(Not run)
[Package datarobot version 2.18.6 Index]