Keras Autoencoder for Fraud Detection Training

Partition numeric input data into a training, test, and validation set. Normalize the data into range [0,1]. Build a Keras autoencoder to reconstruct the input data without anomalies (fraudulent transactions). Apply the Keras model to the test set with anomalies. Detect anomalies in the test set as exceptional high reconstruction errors. Find the optimal threshold for the reconstruction error and evaluate the model performance by producing the accuracy statistics of the model.

This is a companion discussion topic for the original entry at