Adversarial Validation
A method to find out whether training and test data come from the same distribution.
- Mix your training and test data and replace the label with a binary label that shows from which set the data point comes
- Fit a model to the new labeled data
- Check the AUC - if the data come from the same distribution the value should be around 0.5, i.e. the two types of samples cannot really be distinguished
Backlinks