catboost.cv {catboost}R Documentation

Cross-validate model.

Description

Cross-validate model.

Usage

catboost.cv(pool, params = list(), fold_count = 3, inverted = FALSE,
  partition_random_seed = 0, shuffle = TRUE, stratified = FALSE,
  early_stopping_rounds = NULL)

Arguments

pool

Data to cross-validate on

params

Parameters for catboost.train

fold_count

Folds count.

inverted

Train on the test fold and evaluate the model on the training folds.

partition_random_seed

The random seed used for splitting pool into folds.

shuffle

Shuffle the dataset objects before splitting into folds.

stratified

Perform stratified sampling.

early_stopping_rounds

Activates Iter overfitting detector with od_wait set to early_stopping_rounds.


[Package catboost version 0.16.2 Index]