caten2 / Tripods2021UA

MIT License
3 stars 5 forks source link

Discrete neural nets

This repo contains code and examples of implementing the notion of a discrete neural net and polymorphic learning in Python. For more information on these notions, see the corresponding preprint on the arXiv.

Git workflow

1) Fork main repo (https://github.com/caten2/Tripods2021UA). This is different than just cloning. There is a button on GitHub for this. 2) Clone your fork to your machine. 3) Make a branch on your machine. 4) At any time, you can push your changes to your personal fork of the repo. 5) On your machine, pull from the main repo's main branch. 6) On your machine, merge the main branch into your new branch. 7) Resolve any conflicts that arise, then merge your new branch into the main branch. 8) Push your work to your personal fork of the repo. 9) Make a pull request to pull your fork's main into the original repo's main.

Project structure

In the lists which follow, scripts marked with (ORGANIZE) are not part of the current, functioning implementation. These may be in the process of refactoring or being reorganized into another part of the repo.

The scripts that define basic components of the system are in the src folder. These are:

The scripts that run various tests and example applications of the system are in the tests folder. These are:

Environment

Make sure that the scripts in tests can import from scripts in src. In PyCharm this is accomplished most easily by going to Settings -> Project Structure and making sure that src is set as a "source" folder.