Deep Structured Energy Based Models for Anomaly Detection