-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
make cross_val_predict use cross_validate #27000
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
Comments
Hi, @adrinjalali, can I work on this? How should I proceed further? |
@navaneethkulal8 as you can see this issue is labeled as "moderate" and best left to someone who's quite familiar with the code base. And easier issue might be better for you to start on. |
Thanks for the feedback, @adrinjalali |
Hi @adrinjalali, I would like to work on this issue. |
I am wondering why we need to pass |
@adrinjalali |
@sadepu1915 This is not an easy one to start with, and requires quite a bit of familiarity with the codebase. |
@adrinjalali you can pitch me idea or any approach plan on how to attack on this |
@glemaitre had some ideas regarding the scorer API which would accept |
Right now
cross_val_score
is a wrapper forcross_validate
, butcross_val_predict
has its own implementation.We could make it also a wrapper around
cross_validate
, but for that to happen, we need to makecross_validate
also return predictions. For that, we would also need to be able to passy_pred, y_true
to scorers instead of passing the estimator, which would also remove the need to cache in_MultimetricScorer
and make things quite a bit cleaner.cc @glemaitre
xref: #26896 (review)
The text was updated successfully, but these errors were encountered: