https://365datascience.com/dwqa-answer/answer-for-valueerror/ -
Hi there,
Well, the function is expecting a 2D array.
Therefore, to achieve the desired result, please write: reg.predict([[3200]]).
Best,
The 365 Team
#365datascience #DataScience #data #science #365datascience #BigData #tutorial #infographic #career #salary #education #howto #scientist #engineer #course #engineer #MachineLearning #machine #learning #certificate #udemy
No comments:
Post a Comment