π Challenge: Train the XOR Multilayer Perceptron
This challenge requires you to implement the XOR neural network.
We'll cover the following...
Problem statement
We have learned that the XOR operator cannot be separated by a line. Therefore, a multilayer perceptron should be used. The following functions implementation is provided below:
forward_propagation
functionbackpropagation
functionupdate_parameters
functioncalculate_error
function
A train
function receives the weights, the bias at the two layers respectively, and ...