Python/Scikit-Learn – Cant handle mix of multiclass and continuous

Python/Scikit-Learn – Cant handle mix of multiclass and continuous

Accuracy is a classification metric. You cant 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).

Python/Scikit-Learn – Cant handle mix of multiclass and continuous

Leave a Reply

Your email address will not be published. Required fields are marked *