What does class imbalance mean?

In artificial intelligence & machine learning, class imbalance means a situation in which some classes in a dataset have far more examples than others, for example 990 normal transactions for every 10 fraudulent ones.

nounCommon term

Artificial Intelligence & Machine Learning vocabulary · Data and Features

In Turkish: sınıf dengesizliği

Also used in: Software Engineering

How it is used

Very common in fraud, medical and defect detection. It makes accuracy misleading, so teams look at precision, recall and F1 instead. Typical fixes are resampling, class weights in the loss function and collecting more examples of the rare class.

Example sentences

  1. Because of the class imbalance, the model learned to predict 'no defect' for almost everything.

  2. We handled the class imbalance by oversampling the rare class.

Common collocations

  • severe class imbalance
  • handle class imbalance
  • imbalanced dataset
  • class weights

More terms: Data and Features

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: