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

Use params instead of fit_params (deprecated since 1.4) when calling cross_validate from sklearn #1082

Open
jokari69 opened this issue Jan 22, 2024 · 0 comments

Comments

@jokari69
Copy link

Hello all,

I noticed the following warning
site-packages/sklearn/model_selection/_validation.py:73: FutureWarning: fit_paramsis deprecated and will be removed in version 1.6. Pass parameters viaparamsinstead.

I think this is generated by the cross_val_score call on line 98 in the function _calc_score of the file utilitilies.py.
It seems sklearn version 1.4 was just released on january 18 2024 which has the change and the future warning.

Let me know if this seems correct and how I can help to fix it.

kind regards,

Joris

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

1 participant