MCPcopy Create free account
hub / github.com/catboost/catboost / _base_shrink

Method _base_shrink

catboost/python-package/catboost/core.py:1927–1929  ·  view source on GitHub ↗
(self, ntree_start, ntree_end)

Source from the content-addressed store, hash-verified

1925 return self._object._calc_ostr(train_pool, test_pool, top_size, ostr_type, update_method, importance_values_sign, thread_count, verbose)
1926
1927 def _base_shrink(self, ntree_start, ntree_end):
1928 self._object._base_shrink(ntree_start, ntree_end)
1929 self._set_trained_model_attributes()
1930
1931 def _base_drop_unused_features(self):
1932 self._object._base_drop_unused_features()

Callers 1

shrinkMethod · 0.80

Calls 1

Tested by

no test coverage detected