Skip to content

Commit

Permalink
Merge pull request #183 from floffy-f/patch-1
Browse files Browse the repository at this point in the history
Fix docs: Typo on DWDMarginLoss
  • Loading branch information
juliohm authored Dec 10, 2024
2 parents 68f9d75 + 6711d91 commit f511e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/losses/margin.jl
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ different than the [SmoothedL1HingeLoss](@ref). It is Lipschitz
continuous and convex, but not strictly convex.
```math
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}
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}
```
---
Expand Down

0 comments on commit f511e92

Please sign in to comment.