refractoring
This commit is contained in:
12
src/learn.jl
12
src/learn.jl
@@ -87,11 +87,15 @@ function learn!(kfn::kfn_1, correctAnswer::AbstractVector)
|
||||
LinearAlgebra.normalize!(n.wRec, 1)
|
||||
n.wRec .*= nonFlipedSign # set weight that fliped sign to 0 for random new connection
|
||||
|
||||
#WORKING synapticConnStrength
|
||||
# Threads.@threads for n in kfn.neuronsArray
|
||||
for n in kfn.neuronsArray
|
||||
#WORKING synapticConnStrength
|
||||
|
||||
|
||||
|
||||
#TODO neuroplasticity
|
||||
end
|
||||
|
||||
|
||||
|
||||
#TODO neuroplasticity
|
||||
end
|
||||
|
||||
for n in kfn.outputNeuronsArray # merge wRecChange into wRec
|
||||
|
||||
Reference in New Issue
Block a user