Would anyone please explain this transformation in the loss function to me?

22 Views Asked by At

I have a foggy brain right now, I forgot how this happened. Would anyone please explain this to me? This is a loss function. The red circled part is the part I don't understand. How did it become the one after it?

enter image description here

Thank you in advance.

1

There are 1 best solutions below

1
On BEST ANSWER

HINT: $$\bar{y} = \frac{1}{n}\sum_{i=1}^n y_i \;\; .$$