Hi,
I am new to scikit...
Start playing with leaner regression and
Ran into this issue...
Now even after I reshaped X I still get warning ...
I am not sure if I should let it be or I am doing something fundamentally
wrong
Example:
X = np.array([10, 20, 30, 60, 108])
Y = np.array([11, 23, 43, 170
, y)
>
> There’s also a problem in your predict call since you only have 6 samples,
> you can’t have a “12” in there, only values from 0, 5. E.g.,
>
> print("Predict for number 6 {}".format(model.predict([5])))
> Predict for number 6 [-146.58922645]
>
> Best,
> Sebast