GetCrossValidationScores | R Documentation |
Get cross validation scores
GetCrossValidationScores(model, partition = NULL, metric = NULL)
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. |
partition |
numeric. Optional. The ID of the partition to filter results by. |
metric |
character. Optional. The name of the metric to filter results by. |
A list of lists with cross validation score data. Each list contains a series of lists for each model metric. Each model metric list contains the metric data for each fold.
## Not run:
projectId <- "59a5af20c80891534e3c2bde"
modelId <- "5996f820af07fc605e81ead4"
model <- GetModel(projectId, modelId)
GetCrossValidationScores(model)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.