Training multi-layer perceptrons with backpropagation