Polynomial Regression with Least Squares Flashcards

1
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly