Skip to content

Hebb 与 STDP — 练习

Download exercise.py

运行方式

bash
cd docs/neuro/stdp/code
python exercise.py

要做什么

实现 pairwise STDP:Δt>0 为 LTP,<0 为 LTD,Δt=0 不更新,权重 clip 到 [0,1]

源码位置

clone 后打开(相对仓库根目录):

docs/neuro/stdp/code/exercise.py