Regularized Linear Regression Problem

I was attending this lecture on Regularized Linear Regression by andrew ng. I am unable to understand why has he used sigma 1 to n and not sigma 1 to m

m is the number of examples.
n is the number of weights.

1 Like