Before revision:  In this work, we propose MSTDP, a new framework that uses only STDP rules for supervised and unsupervised learning  .
After revision:  In this work, we propose MSTDP, a new framework that uses only STDP rules for supervised and unsupervised learning and don' t need a global loss or other supervise information .