An example of how to create a simple self-developed Perceptron from scratch in Python
Shows how to use Perceptron.py
Contains the Perceptron using a simple learning rule
You can pull the repository the way it is. Running Main.py calls the Perceptron with the iris dataset. If you just want to use the Perceptron you have to call fit()
with a Numpy Array X
(m_samples, n_features) and a Numpy Array y
(m_samples).
If you have an idea how to improve this Perceptron keeping it as simple as possible please fork it and make a PR.