Accuracy is a classification metric. You can't use it with a regression. See the documentation for info on the various metrics.

ID : 131399

viewed : 7

Tags : pythonscikit-learnpython

95

88

Accuracy score is only for classification problems. For regression problems you can use: R2 Score, MSE (Mean Squared Error), RMSE (Root Mean Squared Error).

72