Perceptrons are supervised learning models used to classify data into binary classes. They are one of the simplest models around, and thus serve as a good introduction to machine learning.
This page contains a running visualization of the Perceptron Learning Algorithm (PLA). First, a target function is generated randomly, and then, a set of observations is uniformly generated to populate the dataset. The learning algorithm is executed according to the lines below.