0

I need to write this equation

enter image description here

See that below argmin there is a w, I am not getting how to write like that. Any help will be appreciated. Thank you.

David Carlisle
  • 757,742
Turing101
  • 149
  • 1
    \DeclareMathOperator*{\argmin}{argmin} in the preamble and \argmin_{w} in the formula. – egreg Oct 24 '20 at 12:36
  • it is not working, it is just attaching w like this operator $x_n$ at the end of argmin. – Turing101 Oct 24 '20 at 12:56
  • \bm{w}_{\mathrm{opt}}=\argmin_{\bm{w}}\sum_{n=1]^N\lvert y_n-\bm{w}^T\bm{x}_n\rvert+\lambda\lVert\bm{w}\rVert_{1} (needs \usepackage{bm} after \usepackage{amsmath} will produce the required formula. Provided it is used in a display; in inline formulas the subscript will rightly be set next the operator. – egreg Oct 24 '20 at 13:10

0 Answers0