Linear Regression with Scikit-Learn
Using the command "reg.predict(1740)," I'm attempting to forecast the GPA score based on the provided SAT value, much like the tutor did. However, I am receiving a message that reads "Expected 2D, got scalar array instead."
Would you kindly assist me with this?
PS: All libraries have been correctly imported.
Attached the screenshot for your reference.