Using auto-encoders for anomaly detection