Feedforward neural network training with backpropagation and dropout