Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 84535fa

Browse files
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‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /