Which of the following is a common technique to handle class imbalance in deep learning?

Answer

Using class weights in the loss function.

Explanation

Class weights adjust the loss contribution of each class, giving more importance to minority classes to balance their influence during training.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list