Few-Shot Anomaly Detection Using Deep Generative Models for Grouped Data