I believe the explanation could and should be slightly clarified in meaning

the formula as written in the lesson does not make it clear between

a = (x**T)*x / (x**(T+1))
vs
a = invert(transpose(x) * x) * (transpose(x) * y)

from the formula

a=(XT X)^βˆ’1 * (XTy)

makes it take more thinking to understand than some form of clearing form would have
for example:

a = np.inv(np.trans(x) * x) * (np.trans(x) * y)
1 Like

Please make sure you provide the link to the Mission/Mission Step, and that you apply the corresponding tags for it in your question so that it’s easier for others to refer to.

2 Likes