melisgl / mgl

Common Lisp machine learning library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Math notiation not being formatted

lukego opened this issue · comments

The math notation doesn't seem to be formatted in the HTML documentation e.g. at https://melisgl.github.io/mgl-pax-world/mgl-manual.html#x-28MGL-GD-3A-40MGL-GD-SGD-OPTIMIZER-20MGL-PAX-3ASECTION-29.

The documentation on my machine (Chrome, Linux) looks like:

$$\Delta_w^{t+1} = momentum \Delta_w^t + \frac{accumulator}{batchsize} + l_2 w + l_1 sign(w)$$

$$w^{t+1} = w^{t} - learningrate \Delta_w$$

which is the same as the more traditional formulation:

$$\Delta_w^{t+1} = momentum * \Delta_w^{t} + learningrate \left(\frac{\frac{df}{dw}}{batchsize} + l_2 w + l_1 sign(w)\right)$$

$$w^{t+1} = w^{t} - \Delta_w$$```

This should now be fixed by a combination of an mgl-pax (melisgl/mgl-pax@5a97390) and an 3bmd workaround (e697791). Thanks for the report.