Skip to content

Commit f511e92

Browse files
authored
Merge pull request #183 from floffy-f/patch-1
Fix docs: Typo on DWDMarginLoss
2 parents 68f9d75 + 6711d91 commit f511e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/losses/margin.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ different than the [SmoothedL1HingeLoss](@ref). It is Lipschitz
526526
continuous and convex, but not strictly convex.
527527
528528
```math
529-
L(a) = \begin{cases} 1 - a & \quad \text{if } a \ge \frac{q}{q+1} \\ \frac{1}{a^q} \frac{q^q}{(q+1)^{q+1}} & \quad \text{otherwise}\\ \end{cases}
529+
L(a) = \begin{cases} 1 - a & \quad \text{if } a \le \frac{q}{q+1} \\ \frac{1}{a^q} \frac{q^q}{(q+1)^{q+1}} & \quad \text{otherwise}\\ \end{cases}
530530
```
531531
532532
---

0 commit comments

Comments
 (0)