(self, output_file)
| 1974 | setattr(self, '_tree_count', self._object._get_tree_count()) |
| 1975 | |
| 1976 | def _save_borders(self, output_file): |
| 1977 | if not self.is_fitted(): |
| 1978 | raise CatBoostError("There is no trained model to use save_borders(). Use fit() to train model. Then use save_borders().") |
| 1979 | self._object._save_borders(output_file) |
| 1980 | |
| 1981 | def _get_borders(self): |
| 1982 | if not self.is_fitted(): |
no test coverage detected