Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/math/base/special/expf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ y = e^x
```

<!-- <div class="equation" align="center" data-raw-text="y = e^x" data-equation="eq:natural_exponential_function">
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@3a6b2fe467c920a88f281944d6eb9370eb5cc4cb/lib/node_modules/@stdlib/math/base/special/expf/docs/img/equation_natural_exponential_function.svg" alt="Natural exponential function definition">
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@dac85e0230cd4052f0ec097d58e3372d899782f6/lib/node_modules/@stdlib/math/base/special/expf/docs/img/equation_natural_exponential_function.svg" alt="Natural exponential function definition">
<br>
</div> -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The [hinge loss gradient][hinge-loss-gradient] is defined as
```

<!-- <div class="equation" align="center" data-raw-text="\frac{\partial \ell}{\partial w} = \begin{cases} -yx &amp; \text{if } yp \leq t \\ 0 &amp; \text{otherwise} \end{cases}" data-equation="eq:hinge_loss_gradient">
<img src="" alt="Equation for the hinge loss gradient.">
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@2c32eb273fa95e2fd832845e12f129c4a07d2741/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/img/equation_hinge_loss_gradient.svg" alt="Equation for the hinge loss gradient.">
<br>
</div> -->

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@ The [Huber loss gradient][huber-loss-gradient] is defined as
<!-- <equation class="equation" label="eq:huber_loss_gradient" align="center" raw="\frac{\partial \ell}{\partial w} = \begin{cases} -(y-p)x & \text{if } \left|y-p\right| \leq \delta \\ -\delta\,\operatorname{sign}(y-p)\,x & \text{otherwise} \end{cases}" alt="Equation for the Huber loss gradient."> -->

```math
\frac{\partial \ell}{\partial w} = \begin{cases} -(y-p)x & \text{if } \left|y-p\right| \leq \delta \\ -\delta\,\operatorname{sign}(y-p)\,x & \text{otherwise} \end{cases}
\frac{\partial \ell}{\partial w} = \begin{cases} -(y-p)x & \text{if } \left|y-p\right| \leq \delta \\ -\delta\,\mathop{\mathrm{sign}}(y-p)\,x & \text{otherwise} \end{cases}
```

<!-- <div class="equation" align="center" data-raw-text="\frac{\partial \ell}{\partial w} = \begin{cases} -(y-p)x &amp; \text{if } \left|y-p\right| \leq \delta \\ -\delta\,\operatorname{sign}(y-p)\,x &amp; \text{otherwise} \end{cases}" data-equation="eq:huber_loss_gradient">
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@2c32eb273fa95e2fd832845e12f129c4a07d2741/lib/node_modules/@stdlib/ml/base/loss/float64/huber-gradient/docs/img/equation_huber_loss_gradient.svg" alt="Equation for the Huber loss gradient.">
<br>
</div> -->

<!-- </equation> -->

</section>
Expand Down
Loading