File modified to run on the test set and to train a little MLP with one layer