2
$\begingroup$

If a regression problem is reduced to classification, does minimizing the classification loss translate to minimizing regression error and hence better regression performance?

$\endgroup$

3 Answers 3

2
$\begingroup$

No, minimizing the classification loss does not translate to minimizing regression error and does not yield better regression performance.

This is a core tenant of Measure Theory. Regression measures outcome variables on ratio, interval, or ordinal scales. Classification measures outcome variables on nominal scales. You can always go from more complex scales (i.e., ratio, interval, or ordinal) to simpler scales (i.e., nominal). There are no guarantees about going back. This is technically called a non-injective mapping.

One way to think of it is that you are picking a downsampling scheme to map the data from regression to classification, and there are many possible mappings back from classification to regression. There are no guarantees on which mapping was used. Once downsampled, the data has to stay in the lower sampling space.

$\endgroup$
-1
$\begingroup$

I guess you've made some buckets from your numerical target variable.

I would answer yes to your question as being in the right bucket ("minimizing classification loss") means being closer of the target value ("minimizing regression error").

$\endgroup$
-2
$\begingroup$

Well, that's my understanding of it. To evaluate ML performance metrics, consider the following.

For classification, you can use.

Classification Accuracy
Log Loss
Area Under ROC Curve
Confusion Matrix
Classification Report

For regression, you can use.

Mean Absolute Error
Mean Squared Error
R^2

See the link below for all details.

https://machinelearningmastery.com/metrics-evaluate-machine-learning-algorithms-python/

$\endgroup$
1
  • $\begingroup$ The question is about reducing regression to classification. How does your answer relate to this or answer the question? $\endgroup$
    – Jonathan
    Commented Feb 25, 2020 at 11:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.