[catboost] bugfix for typeof
@@ -2301,7 +2301,7 @@ class CatBoost(_CatBoostBase):
else:
if data is not None and not isinstance(data, Pool):
- raise CatBoostError("Invalid data type={}, must be catboost.Pool.".format(typeof(data)))
+ raise CatBoostError("Invalid data type={}, must be catboost.Pool.".format(_typeof(data)))
need_meta_info = type == EFstrType.PredictionValuesChange
empty_data_is_ok = need_meta_info and self._object._has_leaf_weights_in_model() or type == EFstrType.Interaction
