0
0
ML Pythonml~5 mins

Multi-class classification in ML Python - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is multi-class classification?
Multi-class classification is a type of machine learning task where the model must choose one label from three or more possible categories for each input.
Click to reveal answer
beginner
Name a common algorithm used for multi-class classification.
Logistic regression with softmax, decision trees, random forests, and neural networks are common algorithms used for multi-class classification.
Click to reveal answer
intermediate
What is the role of the softmax function in multi-class classification?
Softmax converts raw model outputs (logits) into probabilities that sum to 1, helping the model pick the most likely class.
Click to reveal answer
intermediate
How do you evaluate a multi-class classification model?
You can use accuracy, confusion matrix, precision, recall, and F1-score for each class to evaluate performance.
Click to reveal answer
beginner
Why is multi-class classification harder than binary classification?
Because the model must distinguish between more than two classes, making it more complex to learn and predict correctly.
Click to reveal answer
Which function is commonly used to convert model outputs into probabilities in multi-class classification?
AReLU
BSigmoid
CSoftmax
DTanh
In multi-class classification, how many classes can the model predict?
AOnly two classes
BThree or more classes
CExactly three classes
DOnly one class
Which metric gives the overall percentage of correct predictions in multi-class classification?
AAccuracy
BRecall
CPrecision
DLoss
What does a confusion matrix show in multi-class classification?
AThe dataset size
BModel training time
CThe model's architecture
DHow predictions match actual classes
Which of these is NOT a typical algorithm for multi-class classification?
ALinear Regression
BK-Nearest Neighbors
CNeural Networks
DRandom Forest
Explain how the softmax function helps in multi-class classification.
Think about turning raw scores into understandable chances.
You got /3 concepts.
    Describe how you would evaluate a multi-class classification model's performance.
    Consider metrics that show overall and class-specific results.
    You got /4 concepts.