Polynomial Regression with Least Squares Flashcards
1
Q
A
2
Q
what does np.ones_like(x).reshape(-1, 1) do?
A
creates a column vector of one with the same number of rows as x
3
Q
A
what does np.ones_like(x).reshape(-1, 1) do?
creates a column vector of one with the same number of rows as x