diff --git a/src/learn.jl b/src/learn.jl index 05c0eab..01aef99 100644 --- a/src/learn.jl +++ b/src/learn.jl @@ -178,7 +178,7 @@ function onComputeParamsChange!(phi::CuArray, eRec .= phi .* epsilonRec nError .= reshape(outputError, (1, 1, :, size(outputError, 2))) .* arrayProjection4d - wOutChange .+= (-eta .* nError .* eRec) + wOutChange .+= (eta .* nError .* eRec) # reset epsilonRec epsilonRec .= 0 @@ -420,9 +420,6 @@ function onLearn!(wOut, wOut .-= 0.001 .* wOut end -GeneralUtils.allTrue(args...) = false ∈ [args...] ? false : true - -#WORKING function neuroplasticity(synapseConnectionNumber, zitCumulative, # (row, col) wRec, # (row, col, n)