From df26a01929d9d876cb50a839e92ad64c6de0f812 Mon Sep 17 00:00:00 2001 From: tonaerospace Date: Wed, 17 May 2023 13:21:25 +0700 Subject: [PATCH] update TODO --- src/Ironpen.jl | 2 +- src/learn.jl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Ironpen.jl b/src/Ironpen.jl index e750502..86b8554 100644 --- a/src/Ironpen.jl +++ b/src/Ironpen.jl @@ -34,7 +34,6 @@ using .interface """ Todo: - [*1] wRec should not normalized whole. it should be local 5 conn normalized. [3] verify that model can complete learning cycle with no error [2] neuroplasticity() i.e. change connection [] using RL to control learning signal @@ -58,6 +57,7 @@ using .interface [DONE] use LinearAlgebra.normalize!(vector, 1) to adjust weight after weight merge [DONE] reset_epsilonRec after ΔwRecChange is calculated [DONE] synaptic connection strength concept. use sigmoid, turn connection offline + [DONE] wRec should not normalized whole. it should be local 5 conn normalized. Change from version: v06_36a - diff --git a/src/learn.jl b/src/learn.jl index 35fa74d..2dfd668 100644 --- a/src/learn.jl +++ b/src/learn.jl @@ -101,6 +101,7 @@ function learn!(kfn::kfn_1, correctAnswer::AbstractVector) nonFlipedSign = isequal.(n.subExInType, wSign) # 1 not fliped, 0 fliped LinearAlgebra.normalize!(n.wRec, 1) n.wRec .*= nonFlipedSign # set weight that fliped sign to 0 for random new connection + normalizePeak!(n.wRec, 2) synapticConnStrength!(n) #TODO neuroplasticity