-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when Used with Categorical/Text features #20
Comments
Addendum: Disabling the use of TextFeatures in Catboost does seem to solve part of this, although a different fatal error then occurs:
|
ddofer
changed the title
Error when Used with Categorical/Text features (Catboost)
Error when Used with Categorical/Text features
Dec 25, 2024
Singular error happens with sklearn's HistGradientBoostingClassifier also. Without them it works. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there any way to use the tool with categorical/text features?
I'm using a fitted CatBoost model (that handles the feature's transformations itself). Since the method works on the shap values of the features, it should not need the raw features to be transformed. Nevertheless, I get an error when trying:
model = CatBoostClassifier( cat_features= categorical_cols ,text_features=text_cols) model.fit(X_train, y_train)
This works fine:
Running shap select results in an error :
Output error:
The text was updated successfully, but these errors were encountered: