+ 2

ordinary squares in DS course

ordinary squares in DS course https://code.sololearn.com/c0UaNaQ2uXj0/?ref=app what`s wrong in my code?

9th Aug 2021, 10:08 AM
Kosarevsky Dmitry
Kosarevsky Dmitry - avatar
2 Answers
+ 3
Replace the last two lines with this: Z = np.linalg.lstsq(X, y, rcond=None)[0] print(Z.round(2))
9th Aug 2021, 11:02 AM
Jan
Jan - avatar
0
OMG, tnx
9th Aug 2021, 11:56 AM
Kosarevsky Dmitry
Kosarevsky Dmitry - avatar