Demo-pack for stochastic learning principle based on STDP https://en.wikipedia.org/wiki/Spike-timing-dependent_plasticity
sample1.py: A simple 2-layer encoder that encodes a one-hot vector into a dense representation
To get to a next step of a demo just click on any place inside a graphic window