This commit is contained in:
ton
2023-09-17 08:27:49 +07:00
parent 2877faec62
commit 13a82f36ef
2 changed files with 4 additions and 4 deletions

View File

@@ -554,10 +554,10 @@ function neuroplasticity(synapseConnectionNumber,
# merge learning weight, all resulting negative wRec will get pruned
mergeLearnWeight!(wRec, exInType, wRecChange, synapticActivityCounter, synapseReconnectDelay)
# println("wRec 2 $(size(wRec)) ", wRec[:,:,1,1])
# adjust wRec based on repeatition (90% +w, 10% -w)
growRepeatedPath!(wRec, synapticActivityCounter, eta)
# println("wRec 3 $(size(wRec)) ", wRec[:,:,1,1])
error("DEBUG -> neuroplasticity")
# -w all non-fire connection except mature connection
weakenNotMatureSynapse!(wRec, synapticActivityCounter, eta)
@@ -568,7 +568,7 @@ function neuroplasticity(synapseConnectionNumber,
rewireSynapse!(wRec, neuronInactivityCounter, synapticActivityCounter,
synapseReconnectDelay, zitCumulative)
error("DEBUG -> neuroplasticity")
# wRec .= (exInType .* wRec) .+ wRecChange
# mask_negative = isless.(wRec, 0)