A simple implementation of Multi Layer Perceptron(MLP) based on Object Oriented Programming with python.
Using backpropagation with gradient descent to update weights.
- Number of hidden layers
- Number of perceptrons for each hidden layer
- Active function for each hidden layer
- Epoch No.
- Learning rate (η)
MLP.py: Implementation of mlp
main.py: An exmaple usage of code on iris dataset
- move active functions to mlp.py structure
- add bias
- implementing momentum