Using Autoencoder For Anomaly Detection Algorithms