| catboost.shrink {catboost} | R Documentation |
Shrink the model
catboost.shrink(model, ntree_end, ntree_start = 0)
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 |
https://catboost.ai/docs/concepts/r-reference_catboost-shrink.html