catboost.shrink {catboost}R Documentation

Shrink the model

Description

Shrink the model

Usage

catboost.shrink(model, ntree_end, ntree_start = 0)

Arguments

model

The model obtained as the result of training.

ntree_end

Leave the trees with indices from the interval [ntree_start, ntree_end) (zero-based indexing).

ntree_start

Leave the trees with indices from the interval [ntree_start, ntree_end) (zero-based indexing).

Default value: 0

See Also

https://tech.yandex.com/catboost/doc/dg/concepts/r-reference_catboost-shrink-docpage/


[Package catboost version 0.16.2 Index]