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

Method _get_borders

catboost/python-package/catboost/core.py:1981–1984  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1979 self._object._save_borders(output_file)
1980
1981 def _get_borders(self):
1982 if not self.is_fitted():
1983 raise CatBoostError("There is no trained model to use get_feature_borders(). Use fit() to train model. Then use get_borders().")
1984 return self._object._get_borders()
1985
1986 def _get_nan_treatments(self):
1987 assert self.is_fitted()

Callers 4

get_bordersMethod · 0.80
plot_predictionsMethod · 0.80
getFeatureIdxMethod · 0.80

Calls 2

is_fittedMethod · 0.95
CatBoostErrorClass · 0.50

Tested by

no test coverage detected