https://medium.com/@monocosmo77/how-far-have-we-come-with-spiking-neural-networks-part2-machine-learning-e3ec45c74da8