Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error **Python/Scikit-Learn – Can’t handle mix of multiclass and continuous** **in python**. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

Table of Contents

## How Python/Scikit-Learn – Can’t handle mix of multiclass and continuous Error Occurs?

Today I get the following error **Python/Scikit-Learn – Can’t handle mix of multiclass and continuous** **in python**.

## How To Solve Python/Scikit-Learn – Can’t handle mix of multiclass and continuous Error ?

**How To Solve Python/Scikit-Learn – Can't handle mix of multiclass and continuous Error ?**To Solve Python/Scikit-Learn – Can't handle mix of multiclass and continuous Error 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 – Can't handle mix of multiclass and continuous**To Solve Python/Scikit-Learn – Can't handle mix of multiclass and continuous Error Accuracy score is only for classification problems. For regression problems you can use: R2 Score, MSE (Mean Squared Error), RMSE (Root Mean Squared Error).

## Solution 1

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

## Solution 2

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

**Summery**

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

**Also, Read**