Multilayer Perceptron and Convolutional Neural Networks