I have scikit-learn 0.24.1 and scikit-optimize 0.8.1, when I tried to use the BayesSearchCV function it gave me this error:
TypeError: __init__() got an unexpected keyword argument 'iid'
when I searched it turned out that the 'iid' is deprecated in the new scikit-learn, any suggestions to solve this problem?
· Issue #902 · scikit-optimize/scikit-optimize · GitHub 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.
I've also encountered the same issue, and I found that scikit-learn has deprecated the iid param. Temporarily, I have downgraded the scikit-learn version to <= 0.23.2 , and it solved my problem.
You can downgrade it using : pip install 'scikit-learn==0.23.2' or lower. Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question. Provide details and share your research! But avoid … Asking for help, clarification, or responding to other answers.
I've also encountered the same issue, and I found that scikit-learn has deprecated the iid param. Temporarily, I have downgraded the scikit-learn version to <= 0.23.2 , and it solved my problem.
You can downgrade it using : pip install 'scikit-learn==0.23.2'
or lower.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With