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..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,16 +26,17 @@ 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} ``` + +