STDP
STDP(self,
=20.0,
tau_plus=20.0,
tau_minus=0.01,
A_plus=0.01,
A_minus=0.0,
w_min=1.0,
w_max )
Spike-timing dependent plasticity, online version.
Song, S., and Abbott, L.F. (2001). Cortical development and remapping through spike timing-dependent plasticity. Neuron 32, 339-350.
Equivalent code:
= ann.Synapse(
STDP = dict(
parameters = 20.0,
tau_plus = 20.0,
tau_minus = 0.01,
A_plus = 0.01,
A_minus = 0.0,
w_min = 1.0,
w_max
),= [
equations 'tau_plus * dx/dt = -x', method='event-driven'),
ann.Variable('tau_minus * dy/dt = -y', method='event-driven'),
ann.Variable(
],="""
pre_spike g_target += w
x += A_plus * w_max
w = clip(w + y, w_min , w_max)
""",
="""
post_spike y -= A_minus * w_max
w = clip(w + x, w_min , w_max)
"""
)
Parameters
Name | Type | Description | Default |
---|---|---|---|
tau_plus | time constant of the pre-synaptic trace (ms) | 20.0 |
|
tau_minus | time constant of the pre-synaptic trace (ms) | 20.0 |
|
A_plus | increase of the pre-synaptic trace after a spike. | 0.01 |
|
A_minus | decrease of the post-synaptic trace after a spike. | 0.01 |
|
w_min | minimal value of the weight w. | 0.0 |
|
w_max | maximal value of the weight w. | 1.0 |