Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

make cross_val_predict use cross_validate #27000

Copy link
Copy link
Open
@adrinjalali

Description

@adrinjalali
Issue body actions

Right now cross_val_score is a wrapper for cross_validate, but cross_val_predict has its own implementation.

We could make it also a wrapper around cross_validate, but for that to happen, we need to make cross_validate also return predictions. For that, we would also need to be able to pass y_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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIModerateAnything that requires some knowledge of conventions and best practicesAnything that requires some knowledge of conventions and best practices

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.