Perceptron Algorithm implemented from scratch in Python

Introduction

The perceptron algorithm is the most basic form of a neural network(NN) used in Machine Learning, and its design was inspired by human biology. Scientists studied the way that neurons determine their own state by receiving signals from the connections to other neurons and comparing the stimuli received to a threshold. Mathematicians took this idea and applied it to a simple perceptron algorithm that is commonly used for supervised learning binary classifications tasks where data is linearly separable. The…