Perceptron Algorithm in Machine Learning

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration illustrates the perceptron algorithm with a toy model. The perceptron algorithm is used in machine learning to classify inputs and decide whether or not they belong to a specific class.

[more]

In this Demonstration, a training dataset is generated by drawing a black line through two randomly chosen points. This line is used to assign labels to the points on each side of the line into red or blue. Then, the perceptron learning algorithm is used to update the weights and classify this data with each iteration, as shown on the right. The updated weights are displayed, and the corresponding classifier is shown in green. The points that are classified correctly are colored blue or red while the points that are misclassified are colored brown.

[less]

Contributed by: Arnab Kar (May 2018)
Open content licensed under CC BY-NC-SA


Snapshots


Details

References

[1] Wikipedia. "Perceptron." (May 16, 2018) en.wikipedia.org/wiki/Perceptron.

[2] Wikipedia. "Linear Classifier." (May 16, 2018) en.wikipedia.org/wiki/Linear_classifier.



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send