Dependency-Based Anomaly Detection