Perceptron with Margin

It is a simple simulation of Perceptron Algorithm using p5.js.

You can insert the data-points belonging to two classes as well as change the Learning Rate and Threshold(or Margin) on canvas at runtime using Sliders and simulate how the Linear Seperater converges to classify the given data.

You can interact on web browsers by simply click the index.html file on your browser.

User can insert the data-points belonging to two classes as well as change the Learning Rate and Threshold or Margin on canvas at runtime using Sliders and simulate how the Linear Separater converges to classify the given data. sketch.js contains the core logic for the simulation.