Data Preparation for ML and AIHow do you resolve class imbalance without leaking test data?
In one line: Resample only the training split after splitting, or weight the loss when rows must stay as recorded; judge with per-class metrics.
You’ve read your 2 free MLA-C02 lessons
Sign up free to read every lesson — your progress is saved.
Spotted a mistake in this part?