Python/Scikit-Learn - Can't handle mix of multiclass and continuous

ID : 131399

viewed : 7

Tags : pythonscikit-learnpython

Top 3 Answer for Python/Scikit-Learn - Can't handle mix of multiclass and continuous

vote vote

95

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

vote vote

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).

vote vote

72

Top 3 video Explaining Python/Scikit-Learn - Can't handle mix of multiclass and continuous

Related QUESTION?