ValueError: Unrecognized data type: x=[10.0] (of type <class 'list'>)


model.predict is not working.

P.S. I’ve already ran model.fit

use this if anyone encounters this problem
print(model.predict(x=np.array([10.0])))

1 Like