Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/princeofpuppers/phys490hw3
Machine Learning Project for PHYS 490, University of Waterloo
https://github.com/princeofpuppers/phys490hw3
Last synced: 10 days ago
JSON representation
Machine Learning Project for PHYS 490, University of Waterloo
- Host: GitHub
- URL: https://github.com/princeofpuppers/phys490hw3
- Owner: PrinceOfPuppers
- Created: 2020-02-22T07:42:50.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-22T07:53:11.000Z (almost 5 years ago)
- Last Synced: 2024-11-08T03:44:26.570Z (2 months ago)
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Assignment *number 1*
- name: Joshua McPherson
- student ID: 20687868## Dependencies
- numpy
-matplotlib## Running `main.py`
To run `main.py`, use:
```sh
python main.py data/x.txt
```where x is the name of the input file, results will be stored in outputs/x.txt
to run `main.py` in verbose mode, use:
```sh
python main.py data/x.txt -v
```This will display a matplotlib graph of the KL Divergence between the Hopfield network
and the data over the epochs of training. Note however hopfield networks with Hebbian Learning
do not benefit from additional training epochs so this will always be constant.