
Answer-first summary for fast verification
Answer: Class Weighting
In Spark ML, **Class Weighting** is a technique designed to tackle class imbalance by assigning different weights to classes, thereby emphasizing the minority class during model training. This approach enhances the model's sensitivity towards the under-represented class without resorting to more complex methods like over-sampling, under-sampling, or SMOTE. It's a straightforward yet powerful method to improve classification accuracy on imbalanced datasets.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.