@@ -1510,6 +1510,7 @@ def fbeta_score(
1510
1510
predictions and labels are negative.
1511
1511
1512
1512
Notes:
1513
+
1513
1514
- If set to "warn", this acts like 0, but a warning is also raised.
1514
1515
- If set to `np.nan`, such values will be excluded from the average.
1515
1516
@@ -1799,11 +1800,13 @@ def precision_recall_fscore_support(
1799
1800
1800
1801
zero_division : {"warn", 0.0, 1.0, np.nan}, default="warn"
1801
1802
Sets the value to return when there is a zero division:
1802
- - recall: when there are no positive labels
1803
- - precision: when there are no positive predictions
1804
- - f-score: both
1803
+
1804
+ - recall: when there are no positive labels
1805
+ - precision: when there are no positive predictions
1806
+ - f-score: both
1805
1807
1806
1808
Notes:
1809
+
1807
1810
- If set to "warn", this acts like 0, but a warning is also raised.
1808
1811
- If set to `np.nan`, such values will be excluded from the average.
1809
1812
@@ -2228,6 +2231,7 @@ def precision_score(
2228
2231
Sets the value to return when there is a zero division.
2229
2232
2230
2233
Notes:
2234
+
2231
2235
- If set to "warn", this acts like 0, but a warning is also raised.
2232
2236
- If set to `np.nan`, such values will be excluded from the average.
2233
2237
@@ -2407,6 +2411,7 @@ def recall_score(
2407
2411
Sets the value to return when there is a zero division.
2408
2412
2409
2413
Notes:
2414
+
2410
2415
- If set to "warn", this acts like 0, but a warning is also raised.
2411
2416
- If set to `np.nan`, such values will be excluded from the average.
2412
2417
0 commit comments