Random undersampling reduces class imbalance by randomly removing majority-class instances until the classes are more balanced. In drug-discovery classification, this can prevent abundant noninhibitor molecules from steering a model away from identifying inhibitors. section 5.2.2
Use undersampling with these trade-offs in mind:
- It may discard informative majority-class molecules, and reducing a small dataset further can harm learning. section 5.2.2
- Evaluate imbalanced classifiers with precision and recall rather than accuracy alone. section 5.2.2
- Compare it with random oversampling or SMOTE, which duplicate or synthetically generate minority-class examples instead. section 5.2.2
CYP450 inhibitor classification
Separate inhibitor and noninhibitor rows, retain every inhibitor, randomly sample an equal number of noninhibitors, and fit a decision tree to the resulting fingerprints.
