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://catboost.ai/docs/concepts/r-reference_catboost-shrink.html


[Package catboost version 0.23 Index]