View source: R/AdvancedTuning.R
StartTuningSession | R Documentation |
The advanced tuning feature allows you to manually set model parameters and override the DataRobot default selections.
StartTuningSession(model)
model |
dataRobotModel. A DataRobot model object to get tuning parameters for. |
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.
RunInteractiveTuning
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.