Adversarially learned anomaly detection (ALAD) detects outliers with a GAN-based bidirectional GAN (BiGAN) architecture and reconstruction-error scoring. section 16.2.3
During prediction, an input is encoded, passed through the generator and discriminator, and evaluated through reconstruction error and discriminator probabilities. BiGAN training aligns generated data with real data and latent codes with encoded inputs.
PyOD usage
Create PyOD's ALAD detector, fit it to X, read det.decision_scores_, and optionally inspect learning curves with det.plot_learning_curves().
