Skip to content

joshleeb/perceptronvis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PerceptronVis

2D Perceptron Visualiser.

Generates nodes places at random locations in a [-1, 1], [-1, 1] region and then splits nodes by a random boundary to simulate two types which are to be classified. The perceptron is then initialised and trained to find this classification.

The dotted cyan line is the actual classification boundary and the black line is the perceptron's boundary at a given iteration.

and so on until the perceptron correctly classifies the nodes.

Usage

python3 percept <directory>

The directory is where the PNG images of each training iteration will be stored as iteration<N>.png.

Requirements

The versions are those that were used in development. Other versions may work as well.

  • Python 3.5.1
  • Matplotlib 1.5.1

About

Perceptron Visualiser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages