Bayesian Anomaly Detection and Classification