-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
is xgboostclassifier imcomptabile with calibratedclassifier? #5887
Comments
Which XGBoost version are you using? |
its 1.0.2 |
Will investigate this. |
Reproduced. |
I looked into this briefly. sklearn converts pandas dataframe into numpy array during its validation (check_array function), so information like feature names are loss. Not sure if this is expected behaviour from skl. |
There's a related issue in scikit-learn/scikit-learn#5523 . |
i still can't figure this priblem out, my validation and train set have exact same features |
@zahs123 There's a
|
all,
i do not know why i am getting the following error: ValueError: feature_names mismatch. this is what i am running:
to get my data:
and then i run grid search
but i get the above error. my x_valid and x_train have the same columns even when i fix the columns using:
i do not understand why i am getting that error even when i fix the columns as above, i have tried doing x_valid.values but still no hope... they have the same features so i really do not know what is happening
The text was updated successfully, but these errors were encountered: