experiment
This commit is contained in:
@@ -95,7 +95,7 @@ function learn!(n::T, firedNeurons, nExInType) where T<:computeNeuron
|
||||
# normalize wRec peak to prevent input signal overwhelming neuron
|
||||
normalizePeak!(n.wRec, n.wRecChange, 2)
|
||||
# set weight that fliped sign to 0 for random new connection
|
||||
n.wRec .*= nonFlipedSign
|
||||
# n.wRec .*= nonFlipedSign
|
||||
capMaxWeight!(n.wRec) # cap maximum weight
|
||||
|
||||
synapticConnStrength!(n)
|
||||
@@ -111,7 +111,7 @@ function learn!(n::T, firedNeurons, nExInType, totalInputPort) where T<:outputNe
|
||||
# normalize wRec peak to prevent input signal overwhelming neuron
|
||||
normalizePeak!(n.wRec, n.wRecChange, 2)
|
||||
# set weight that fliped sign to 0 for random new connection
|
||||
n.wRec .*= nonFlipedSign
|
||||
# n.wRec .*= nonFlipedSign
|
||||
capMaxWeight!(n.wRec) # cap maximum weight
|
||||
|
||||
# synapticConnStrength!(n) #CHANGE
|
||||
|
||||
Reference in New Issue
Block a user