+ 2
ordinary squares in DS course
ordinary squares in DS course https://code.sololearn.com/c0UaNaQ2uXj0/?ref=app what`s wrong in my code?
2 Answers
+ 3
Replace the last two lines with this:
Z = np.linalg.lstsq(X, y, rcond=None)[0]
print(Z.round(2))
0
OMG, tnx