Skip to content

Commit 84535fa

Browse files
authored
Correct docstring FNs -> False Negatives (#592)
1 parent 560e8ff commit 84535fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

segmentation_models_pytorch/losses/tversky.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class TverskyLoss(DiceLoss):
2424
ignore_index: Label that indicates ignored pixels (does not contribute to loss)
2525
eps: Small epsilon for numerical stability
2626
alpha: Weight constant that penalize model for FPs (False Positives)
27-
beta: Weight constant that penalize model for FNs (False Positives)
27+
beta: Weight constant that penalize model for FNs (False Negatives)
2828
gamma: Constant that squares the error function. Defaults to ``1.0``
2929
3030
Return:

0 commit comments

Comments
 (0)