79426212

Date: 2025-02-10 06:18:54
Score: 2
Natty:
Report link

You're passing an integer value instead of a 2D array in reg.predict(). You have to give input as a 2D array to get your prediction result. Use this reg.predict([[80]])

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Harsh Mistry