ordinary squares in DS course | Sololearn: Learn to code for FREE!

+1

ordinary squares in DS course

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

py ds

8/9/2021 10:08:36 AM

Kosarevsky Dmitry

2 Answers

New Answer

+2

Replace the last two lines with this: Z = np.linalg.lstsq(X, y, rcond=None)[0] print(Z.round(2))

0