R: Shrink the model

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).

### Value

Status, the result of model shrinking. TRUE if shrinking succeeded, FALSE otherwise.

### See Also

https://catboost.ai/docs/concepts/r-reference_catboost-shrink.html

[Package catboost version 1.0.5 Index]