update TODO

This commit is contained in:
2023-05-17 13:21:25 +07:00
parent abd69c9dae
commit df26a01929
2 changed files with 2 additions and 1 deletions

View File

@@ -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
-

View File

@@ -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