I was recently reading a stack exchange post on solving a polynomial regression problem with gradient descent, and one contributor identified the objective function as:
$$\text{argmin}_{\beta} \| \mathbf{y - X\beta}\|_2^2$$
They identified this as the "squared loss" i.e. L2 Loss function, which makes sense.
The notation in the equation, however, is new to me. Why are the 2's stacked atop each other in this equation? What do those 2's signify? What is the difference between the formulation above and:
$$\text{argmin}_{\beta} \| \mathbf{y - X\beta}\|^2$$
I'd be very grateful for any help others can offer with this question.