Class imbalance occurs when one target class is much rarer than another, allowing aggregate metrics and standard training to neglect the cases that may matter most. This guide explains the mechanism, trade-offs, evaluation, and controls that matter in practice.