So I have been working on this equation which sums up two summations from i = 1 to N.
This is the equation.
This is the latex equation for it for help in editing if its wrong.
AL = \sum_{i=1}^{N}\left ( \sum_{i=1}^{N}max(0, m + d(r_{a},r_{p}) - d(r_{a}, r_{n})) + (-\frac{1}{N}(\sum_{i=1}^{N}L_{i}\cdot log(s_{i}))) \right )
This looks right to me but do I need the N and i on every sum or only the first one? Thank you
