Skip to content

Implementation of a very simple perceptron from the scratch. Learning steps are visualized using animation. I took help from https://youtu.be/XJ7HLz9VYz0

Notifications You must be signed in to change notification settings

imruljubair/Simple-perceptron-simulator-for-kids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple perceptron simulator for kids

This is one of my hobby projects. I have built a very simple perceptron that can classify linearly seperable data. It is built from the scratch, even numpy has not been used. It helped me to understand how perceptron really works. I used matplotlib animation to render the steps of learning.

In the code, a linearly seperated dataset is created based on function f(x,y), i.e. f(x,y) = 7x-3y+5=0, which seperates the data into two classes. Then the perceptron starts with random values of weights and bias which has no idea about the classes. Then it adjusts the values iteratively by correcting itself. Finally it comes up with a decision and draws a line to seperate two classes.

Alt text

I am thankful to: https://youtu.be/XJ7HLz9VYz0 which provides me the basic of perceptron.

About

Implementation of a very simple perceptron from the scratch. Learning steps are visualized using animation. I took help from https://youtu.be/XJ7HLz9VYz0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages