From 3a6b2fe467c920a88f281944d6eb9370eb5cc4cb Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Thu, 6 Aug 2026 03:00:39 +0000 Subject: [PATCH 1/4] docs: update Markdown equation SVGs --- .../equation_natural_exponential_function.svg | 17 ++++ .../docs/img/equation_hinge_loss_gradient.svg | 82 +++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 lib/node_modules/@stdlib/math/base/special/expf/docs/img/equation_natural_exponential_function.svg create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/img/equation_hinge_loss_gradient.svg diff --git a/lib/node_modules/@stdlib/math/base/special/expf/docs/img/equation_natural_exponential_function.svg b/lib/node_modules/@stdlib/math/base/special/expf/docs/img/equation_natural_exponential_function.svg new file mode 100644 index 000000000000..e1bd442e986f --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/expf/docs/img/equation_natural_exponential_function.svg @@ -0,0 +1,17 @@ + +y equals e Superscript x + + + \ No newline at end of file diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/img/equation_hinge_loss_gradient.svg b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/img/equation_hinge_loss_gradient.svg new file mode 100644 index 000000000000..3dfc0c06a6d8 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/img/equation_hinge_loss_gradient.svg @@ -0,0 +1,82 @@ + +StartFraction partial-differential script l Over partial-differential w Subscript i Baseline EndFraction equals StartLayout Enlarged left-brace 1st Row 1st Column minus y x Subscript i Baseline 2nd Column if y p less-than-or-equal-to t 2nd Row 1st Column 0 2nd Column otherwise EndLayout + + + \ No newline at end of file From 797b75bf418aec376acf0ed769b79b33fe6fcd02 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Thu, 6 Aug 2026 03:01:56 +0000 Subject: [PATCH 2/4] docs: update Markdown equation elements --- lib/node_modules/@stdlib/blas/ext/base/dwxdy/README.md | 2 +- lib/node_modules/@stdlib/blas/ext/base/swxdy/README.md | 2 +- lib/node_modules/@stdlib/math/base/special/expf/README.md | 5 +++++ .../@stdlib/ml/base/loss/float64/hinge-gradient/README.md | 5 +++++ .../ml/base/loss/float64/squared-hinge-gradient/README.md | 2 +- lib/node_modules/@stdlib/stats/incr/nanmrmse/README.md | 2 +- lib/node_modules/@stdlib/stats/incr/nanmvariance/README.md | 2 +- lib/node_modules/@stdlib/stats/incr/nanwmean/README.md | 2 +- 8 files changed, 16 insertions(+), 6 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/ext/base/dwxdy/README.md b/lib/node_modules/@stdlib/blas/ext/base/dwxdy/README.md index d6459cb3a041..aa0ddaff60a6 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dwxdy/README.md +++ b/lib/node_modules/@stdlib/blas/ext/base/dwxdy/README.md @@ -33,7 +33,7 @@ This BLAS extension implements the operation ``` diff --git a/lib/node_modules/@stdlib/blas/ext/base/swxdy/README.md b/lib/node_modules/@stdlib/blas/ext/base/swxdy/README.md index e7495bfa6b72..58c03ea338ad 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/swxdy/README.md +++ b/lib/node_modules/@stdlib/blas/ext/base/swxdy/README.md @@ -33,7 +33,7 @@ This BLAS extension implements the operation ``` diff --git a/lib/node_modules/@stdlib/math/base/special/expf/README.md b/lib/node_modules/@stdlib/math/base/special/expf/README.md index 71568e482cf3..80b55b251947 100644 --- a/lib/node_modules/@stdlib/math/base/special/expf/README.md +++ b/lib/node_modules/@stdlib/math/base/special/expf/README.md @@ -32,6 +32,11 @@ The natural [exponential function][exponential-function] is defined as y = e^x ``` + + where `e` is [Euler's][@stdlib/constants/float32/e] number. diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/README.md b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/README.md index 98dcd43b2451..9c0ba5459a3a 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/README.md +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/README.md @@ -32,6 +32,11 @@ The [hinge loss gradient][hinge-loss-gradient] is defined as \frac{\partial \ell}{\partial w_i} = \begin{cases} -yx_i & \text{if } yp \leq t \\ 0 & \text{otherwise} \end{cases} ``` + + 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 fae841025247..481b7b3c1c0c 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 @@ -33,7 +33,7 @@ The [squared hinge loss gradient][squared-hinge-loss-gradient] is defined as ``` diff --git a/lib/node_modules/@stdlib/stats/incr/nanmrmse/README.md b/lib/node_modules/@stdlib/stats/incr/nanmrmse/README.md index 724d7f70a386..4f5ddd4ce4e8 100644 --- a/lib/node_modules/@stdlib/stats/incr/nanmrmse/README.md +++ b/lib/node_modules/@stdlib/stats/incr/nanmrmse/README.md @@ -33,7 +33,7 @@ For a window of size `W`, the [**root mean squared error**][root-mean-squared-er ``` diff --git a/lib/node_modules/@stdlib/stats/incr/nanmvariance/README.md b/lib/node_modules/@stdlib/stats/incr/nanmvariance/README.md index 8b1f50cfd5c0..61bb94be24b0 100644 --- a/lib/node_modules/@stdlib/stats/incr/nanmvariance/README.md +++ b/lib/node_modules/@stdlib/stats/incr/nanmvariance/README.md @@ -33,7 +33,7 @@ s^2 = \frac{1}{W-1} \sum_{i=0}^{W-1} ( x_i - \bar{x} )^2 ``` diff --git a/lib/node_modules/@stdlib/stats/incr/nanwmean/README.md b/lib/node_modules/@stdlib/stats/incr/nanwmean/README.md index 8766f1a56525..8669e3f5ecb6 100644 --- a/lib/node_modules/@stdlib/stats/incr/nanwmean/README.md +++ b/lib/node_modules/@stdlib/stats/incr/nanwmean/README.md @@ -33,7 +33,7 @@ The [weighted arithmetic mean][weighted-arithmetic-mean] is defined as ``` From b65bed8b7b00933fcbf63bfde5721bdddaf5ff9d Mon Sep 17 00:00:00 2001 From: Athan Date: Wed, 5 Aug 2026 23:42:43 -0700 Subject: [PATCH 3/4] Discard changes to lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/img/equation_hinge_loss_gradient.svg --- .../docs/img/equation_hinge_loss_gradient.svg | 82 ------------------- 1 file changed, 82 deletions(-) delete mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/img/equation_hinge_loss_gradient.svg diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/img/equation_hinge_loss_gradient.svg b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/img/equation_hinge_loss_gradient.svg deleted file mode 100644 index 3dfc0c06a6d8..000000000000 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/img/equation_hinge_loss_gradient.svg +++ /dev/null @@ -1,82 +0,0 @@ - -StartFraction partial-differential script l Over partial-differential w Subscript i Baseline EndFraction equals StartLayout Enlarged left-brace 1st Row 1st Column minus y x Subscript i Baseline 2nd Column if y p less-than-or-equal-to t 2nd Row 1st Column 0 2nd Column otherwise EndLayout - - - \ No newline at end of file From 40ee91a2f64c7cab7c8ec959340488372c8f441e Mon Sep 17 00:00:00 2001 From: Athan Date: Wed, 5 Aug 2026 23:43:55 -0700 Subject: [PATCH 4/4] docs: fix equation Signed-off-by: Athan --- .../@stdlib/ml/base/loss/float64/hinge-gradient/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/README.md b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/README.md index 9c0ba5459a3a..7e1e42ca2186 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/README.md +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/README.md @@ -26,14 +26,14 @@ limitations under the License. The [hinge loss gradient][hinge-loss-gradient] is defined as - + ```math -\frac{\partial \ell}{\partial w_i} = \begin{cases} -yx_i & \text{if } yp \leq t \\ 0 & \text{otherwise} \end{cases} +\frac{\partial \ell}{\partial w} = \begin{cases} -yx & \text{if } yp \leq t \\ 0 & \text{otherwise} \end{cases} ``` -