-
-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEA add zero_division to matthews_corrcoef (#28509)
Co-authored-by: Marc Torrellas Socastro <[email protected]> Co-authored-by: Guillaume Lemaitre <[email protected]>
- Loading branch information
1 parent
49c5948
commit ba2dd5d
Showing
3 changed files
with
53 additions
and
12 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
doc/whats_new/upcoming_changes/sklearn.metrics/28509.feature.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Adds `zero_division` to :func:`metrics.matthews_corrcoef`. | ||
When there is a zero division, the metric is undefined and this value is returned. | ||
By :user:`Marc Torrellas Socastro <marctorsoc>` and :user:`Noam Keidar <redjest>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters