ID : 131399
viewed : 7
Tags : pythonscikit-learnpython
Accuracy is a classification metric. You can't use it with a regression. See the documentation for info on the various metrics.
Accuracy score is only for classification problems. For regression problems you can use: R2 Score, MSE (Mean Squared Error), RMSE (Root Mean Squared Error).