This project requires python's Tkinter graphics to be imported. You can install turtle using:
sudo apt-get install python-tk
Run the perceptron demo inside the simple-perceptron folder:
python VisualizePerceptron.py
Execute the above to see the perceptron learn.
Inside the folder simple-perceptron:
| File | Description |
|---|---|
| perceptron.py | Contains definitions of the perceptron |
| gui.py | Contains Point class and graphing functions |
| VisualizePerceptron.py | Used as the driver function to test out the functionalities |