Learning binary or real-valued time-series via spike-timing dependent plasticity | Read Paper on Bytez