From d1e05dc01cd6c5d88139eb6154a231c127cad154 Mon Sep 17 00:00:00 2001
From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
Date: Tue, 4 Aug 2026 03:00:12 +0000
Subject: [PATCH 1/4] docs: update Markdown equation SVGs
---
.../equation_squared_hinge_loss_gradient.svg | 92 +++++++++++++++++++
1 file changed, 92 insertions(+)
create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/docs/img/equation_squared_hinge_loss_gradient.svg
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/docs/img/equation_squared_hinge_loss_gradient.svg b/lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/docs/img/equation_squared_hinge_loss_gradient.svg
new file mode 100644
index 000000000000..c0e1d790d498
--- /dev/null
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/docs/img/equation_squared_hinge_loss_gradient.svg
@@ -0,0 +1,92 @@
+
\ No newline at end of file
From c3e56d30f6b2551e840c6ce8b7eb85a69a88c59b Mon Sep 17 00:00:00 2001
From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
Date: Tue, 4 Aug 2026 03:00:23 +0000
Subject: [PATCH 2/4] docs: update Markdown equation elements
---
.../loss/float64/squared-hinge-gradient/README.md | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/README.md b/lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/README.md
index aad39b117271..bf9781461286 100644
--- a/lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/README.md
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/README.md
@@ -29,13 +29,14 @@ The [squared hinge loss gradient][squared-hinge-loss-gradient] is defined as
```math
-\frac{\partial \ell}{\partial w_i} =
-\begin{cases}
--2y(t - yp)x_i & \text{if } yp \leq t \\
-0 & \text{otherwise}
-\end{cases}
+\frac{\partial \ell}{\partial w_i} = \begin{cases} -2y(t - yp)x_i & \text{if } yp \leq t \\ 0 & \text{otherwise} \end{cases}
```
+
+
From c75b58f4fc282abfa16f1f3827a64cb3c0d38d1e Mon Sep 17 00:00:00 2001
From: Athan
Date: Mon, 3 Aug 2026 20:25:38 -0700
Subject: [PATCH 3/4] Discard changes to
lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/docs/img/equation_squared_hinge_loss_gradient.svg
---
.../equation_squared_hinge_loss_gradient.svg | 92 -------------------
1 file changed, 92 deletions(-)
delete mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/docs/img/equation_squared_hinge_loss_gradient.svg
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/docs/img/equation_squared_hinge_loss_gradient.svg b/lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/docs/img/equation_squared_hinge_loss_gradient.svg
deleted file mode 100644
index c0e1d790d498..000000000000
--- a/lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/docs/img/equation_squared_hinge_loss_gradient.svg
+++ /dev/null
@@ -1,92 +0,0 @@
-
\ No newline at end of file
From 58f35e34f2bb87538ffa2ceda7557907549d458c Mon Sep 17 00:00:00 2001
From: Athan
Date: Mon, 3 Aug 2026 20:26:46 -0700
Subject: [PATCH 4/4] docs: update equation
Signed-off-by: Athan
---
.../ml/base/loss/float64/squared-hinge-gradient/README.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/README.md b/lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/README.md
index bf9781461286..7f7e34c41c27 100644
--- a/lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/README.md
+++ b/lib/node_modules/@stdlib/ml/base/loss/float64/squared-hinge-gradient/README.md
@@ -26,14 +26,14 @@ limitations under the License.
The [squared hinge loss gradient][squared-hinge-loss-gradient] is defined as
-
+
```math
-\frac{\partial \ell}{\partial w_i} = \begin{cases} -2y(t - yp)x_i & \text{if } yp \leq t \\ 0 & \text{otherwise} \end{cases}
+\frac{\partial \ell}{\partial w} = \begin{cases} -2y(t - yp)x & \text{if } yp \leq t \\ 0 & \text{otherwise} \end{cases}
```
-