Using Autoencoder For Anomaly Detection