I think there have been a few projects documented on this forum along these lines.
Most of the examples seem to use STDP, a way that neurons change the strength of their synpatic weights in biology.
However, please read through this discussion from @mstimberg on why STDP for learning static-representations may be missing the point of STDP in the brain
-
Brian 2 version source code for paper “Unsupervised Learning of Digit recognition using STDP”
- there’s a detailed Brian community discussion about updating this project here:
“Unsupervised learning of digit recognition using spike-timing-dependent plasiticity” - forum post
- there’s a detailed Brian community discussion about updating this project here:
some other external projects:
- “MNIST spiking neural network” - blogpost w/ code by Larionov
- “Three single-layer SNN learning algorithms with different homeostasis methods”
- “Investigation of Unsupervised Learning in Spiking Neural Network using STDP Rules”
- Machine Learning - Final Project - Schwartz & Liang