From 4fc4a5af91d8cb2ed06c731cd48900025e2a4a57 Mon Sep 17 00:00:00 2001 From: tonaerospace Date: Sun, 28 May 2023 22:14:44 +0700 Subject: [PATCH] turn off synaptic strength for output neuron --- src/learn.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/learn.jl b/src/learn.jl index dc08433..b5870e2 100644 --- a/src/learn.jl +++ b/src/learn.jl @@ -114,7 +114,7 @@ function learn!(n::T, firedNeurons, nExInType, totalInputPort) where T<:outputNe n.wRec .*= nonFlipedSign capMaxWeight!(n.wRec) # cap maximum weight - synapticConnStrength!(n) + # synapticConnStrength!(n) #CHANGE neuroplasticity!(n,firedNeurons, nExInType, totalInputPort) end