What metric would be more appropriate to use when the classes in a classification problem are imbalanced?
- Accuracy
- F1 Score
- Mean Absolute Error
- Root Mean Square Error
When dealing with imbalanced classes, the F1 Score is a more appropriate metric. It considers both precision and recall, making it suitable for situations where one class is significantly more prevalent than the other.
Loading...
Related Quiz
- Which evaluation metric would be least affected by a large number of true negatives in a dataset?
- You're analyzing data from a shopping mall's customer behavior and notice that there are overlapping clusters representing different shopping patterns. To model this scenario, which algorithm would be most suitable?
- If you're working with high-dimensional data and you want to reduce its dimensionality for visualization without necessarily preserving the global structure, which method would be apt?
- When aiming to reduce both bias and variance, one might use techniques like ________ to regularize a model.
- A machine learning model trained for predicting whether an email is spam or not has a very high accuracy of 99%. However, almost all emails (including non-spam) are classified as non-spam by the model. What could be a potential issue with relying solely on accuracy in this case?