Skip to content
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

TypeError: __init__() got an unexpected keyword argument 'handle_unknown' #2

Closed
bigcharless opened this issue Oct 31, 2021 · 3 comments

Comments

@bigcharless
Copy link

Hey I got this error and no idea where it is from. My manual xgb model works without problems with exactly the same dataset.

I have no idea how to use github so sorry if this does not match your standards.

Capture d’écran 2021-10-31 à 17 34 28

@abhishekkrthakur
Copy link
Owner

It seems like you are using an older version of scikit-learn. please update to >=1.0.1

@bigcharless
Copy link
Author

That was it. Well spotted, upgrading sklearn solves the problem.

@abhishekkrthakur
Copy link
Owner

Glad that worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants