Customizing the MLP classifier