Please go through the notebook to see the usage of the Perceptron class.
Types of training - administered by the batch_size argument to the class object/fit method:
- Stochastic
- Mini-batch
- Batch
A vectorized implementation of Perceptron from scratch
Jupyter Notebook