In the previous post we discussed the theory and history behind the perceptron algorithm developed by Frank Rosenblatt. Even though this is a very basic algorithm and only capable of modeling linear relationships, it serves as a great starting point to understanding neural network machine learning models. In this post, we will implement this basic Perceptron in Python.
The perceptron is a supervised learning algorithm used for binary classification. It is one of the oldest algorithms used in machine learning going back to the 1950’s which has been the inspiration to many state of the art algorithms used today.