Multi-class classification is a type of supervised machine learning where the model learns to assign an input to one of three or more possible categories (classes).
* Unlike binary classification (yes/no, positive/negative), multi-class models can handle problems like:
Example:
1. Input: Feature vectors (e.g., radiomics from MRI) 2. Model: Trained using labeled data with more than two output classes 3. Prediction: Model outputs either:
Algorithm | Strategy Used |
---|---|
XGBoost | Native support via `multi:softmax` or `multi:softprob` |
Logistic Regression | Multinomial extension |
Support Vector Machine (SVM) | One-vs-rest or one-vs-one |
Random Forest | Native multi-class |
Neural Networks | Softmax activation in output layer |
Metric | Notes |
---|---|
Accuracy | Percentage of correct predictions |
Confusion Matrix | Shows how predictions match actual labels |
Precision / Recall / F1-score | Often calculated per class |
AUC (macro/micro average) | Useful when using probabilistic outputs |
* Differentiating sellar region lesions using MRI * Classifying skin lesions or lung nodules * Assigning patients to risk categories or cancer subtypes * Diagnosing neurological conditions with overlapping symptoms
Multi-class problems may require: