Skip to content

Make zero_division parameter consistent in the different metric #29048

Open
@glemaitre

Description

@glemaitre

This is an issue to report the step to actually take over the work of @marctorsoc in #23183 and split the PR into smaller one to facilitate the review process.

The intend is to make the zero_division parameter consistent across different metrics in scikit-learn. In this regards, we have the following TODO list:

All those items have been addressed in #23183 and can be extracted in individual PRs. The changelog presenting the changes should acknowledge @marctorsoc.

In addition, we should investigate #27047 and check if we should add the zero_division parameter to the precision_recall_curve and roc_curve as well. This might add two additional items to the list above.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions