What is the difference between multi-label classification and multi-output regression?
Last updated
Both predict several targets per example. In multi-label classification, each target is a binary yes/no label and an example can have any subset of labels. In multi-output regression, each target is a continuous value. This difference drives the choice of loss, decision rule, and metrics.
Multi-label classification:
The output is a binary vector, e.g. a movie tagged {comedy, romance}. It differs from multi-class, where exactly one class applies.
Typical setup: one sigmoid per label with binary cross-entropy, not a softmax.
Each label needs its own decision threshold, tuned for its prevalence.
Metrics: Hamming loss, subset accuracy, micro/macro F1, per-label AUC.
Multi-output regression:
The output is a real-valued vector, e.g. predicting both latitude and longitude, or several sensor readings.
Typical setup: MSE or MAE per output, summed or weighted.
Targets with different scales should be standardized, or the largest one dominates the loss.
Metrics: per-target RMSE or R², sometimes averaged.
Shared concerns:
Both can be solved with independent per-target models (
MultiOutputClassifier,MultiOutputRegressor).Alternatively, they can exploit correlations between targets through chains (
ClassifierChain,RegressorChain) or a shared neural network trunk.