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
Related questions
In a GAN, what is the primary role of the discriminator?
View question →
Which of the following is a key characteristic of the Leaky ReLU activation function compared to the standard ReLU?
View question →
Which of the following best describes the concept of 'attention' in deep learning?
View question →
In the context of deep learning, which of the following is considered a hyperparameter?
View question →
Which of the following is a common method for initializing weights in deep neural networks to help with training?
View question →
What is the primary purpose of batch normalization in a deep neural network?
View question →