Python Multilayer Perceptron Example