Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 53bf94c

Browse files
committed
Merge pull request #5478 from rvraghav93/description_undefinedmetricwarning
[MRG + 1] DOC Add description for UndefinedMetricWarning
2 parents abc032c + e4332ed commit 53bf94c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,4 @@ class NonBLASDotWarning(EfficiencyWarning):
114114

115115

116116
class UndefinedMetricWarning(UserWarning):
117-
pass
117+
"""Warning used when the metric is invalid"""

0 commit comments

Comments
 (0)