From 6711d91751017f406af3d8264675dfcd48e84b1c Mon Sep 17 00:00:00 2001 From: Florian Vincent <85450305+floffy-f@users.noreply.github.com> Date: Tue, 10 Dec 2024 16:25:30 +0100 Subject: [PATCH] Fix docs: Typo on DWDMarginLoss In the LaTeX equation, the \ge has been swapped for a \le --- src/losses/margin.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/losses/margin.jl b/src/losses/margin.jl index a590e6c..a6d8c5f 100644 --- a/src/losses/margin.jl +++ b/src/losses/margin.jl @@ -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} ``` ---