this function takes the train structure and hyperparameters, and an integer n and does an n fold cross validation and returns the result.
1 | cross_validate_xgb(train_structure, hyperparameters, nfold = 5)
|
train_structure |
the data structure generated by prepare_training_set |
hyperparameters |
the list generated by guess_hyperparameters function |
nfold |
number of folds of CV |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.