Autoencoders for anomaly detection