Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ is_fitted
Method
is_fitted
catboost/python-package/catboost/core.py:1803–1804 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1801
return
self.__copy__()
1802
1803
def
is_fitted(self):
1804
return
getattr(self,
'_random_seed'
, None) is not None
1805
1806
def
_is_comparable_to(self, rhs):
1807
if
not isinstance(rhs, _CatBoostBase):
Callers
15
__getstate__
Method · 0.95
get_test_eval
Method · 0.95
get_test_evals
Method · 0.95
_save_model
Method · 0.95
_save_borders
Method · 0.95
_get_borders
Method · 0.95
_get_nan_treatments
Method · 0.95
tree_count_
Method · 0.95
random_seed_
Method · 0.95
learning_rate_
Method · 0.95
n_features_in_
Method · 0.95
feature_names_
Method · 0.95
Calls
1
getattr
Function · 0.85
Tested by
6
test_predict_regress
Function · 0.64
test_predict_sklearn_regress
Function · 0.64
test_predict_sklearn_class
Function · 0.64
test_raw_predict_equals_to_model_predict
Function · 0.64
test_regress_with_per_float_feature_binarization_param
Function · 0.64
test_select_features
Function · 0.64