Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ _check_model
Function
_check_model
catboost/python-package/catboost/monoforest.py:11–13 ·
view source on GitHub ↗
(model)
Source
from the content-addressed store, hash-verified
9
10
11
def
_check_model(model):
12
if
not isinstance(model, CatBoost):
13
raise
CatBoostError(
"Model should be CatBoost"
)
14
15
16
def
to_polynom(model):
Callers
3
to_polynom
Function · 0.85
to_polynom_string
Function · 0.85
explain_features
Function · 0.85
Calls
2
CatBoostError
Class · 0.90
isinstance
Function · 0.85
Tested by
no test coverage detected