Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Refactor Network step() function #13

Open
djsaunde opened this issue Feb 13, 2018 · 0 comments
Open

Refactor Network step() function #13

djsaunde opened this issue Feb 13, 2018 · 0 comments

Comments

@djsaunde
Copy link
Owner

Currently, the step() function in the Network class accepts arguments mode, inpts, time. If we are to separate out the training / testing of networks from the object definition, we should be rid of the mode parameter (which gives the train or test phase).

Here's what I'm thinking:

  1. Remove the argument mode.
  2. Always update Synapses which have STDP "enabled".
  3. "Enable" STDP on learnable Synapses during training; disable during test.

The enabling of STDP could be a boolean class-level attribute in a generic Synapse function.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant