minor fix
This commit is contained in:
@@ -150,7 +150,6 @@ function lifComputeParamsChange!( phi::AbstractArray,
|
|||||||
wOut::AbstractArray,
|
wOut::AbstractArray,
|
||||||
modelError::AbstractArray)
|
modelError::AbstractArray)
|
||||||
d1, d2, d3, d4 = size(epsilonRec)
|
d1, d2, d3, d4 = size(epsilonRec)
|
||||||
error("DEBUG -> lifComputeParamsChange! $(Dates.now())")
|
|
||||||
# Bₖⱼ in paper, sum() to get each neuron's total wOut weight
|
# Bₖⱼ in paper, sum() to get each neuron's total wOut weight
|
||||||
wOutSum = reshape(sum(wOut, dims=3), (d1, :, d4))
|
wOutSum = reshape(sum(wOut, dims=3), (d1, :, d4))
|
||||||
|
|
||||||
@@ -244,9 +243,6 @@ function learn!(kfn::kfn_1)
|
|||||||
kfn.on_wOutChange,
|
kfn.on_wOutChange,
|
||||||
kfn.on_arrayProjection4d)
|
kfn.on_arrayProjection4d)
|
||||||
|
|
||||||
# wOut decay
|
|
||||||
kfn.on_wOut .*= 0.0001
|
|
||||||
|
|
||||||
# wrap up learning session
|
# wrap up learning session
|
||||||
if kfn.learningStage == [3]
|
if kfn.learningStage == [3]
|
||||||
kfn.learningStage = [0]
|
kfn.learningStage = [0]
|
||||||
|
|||||||
Reference in New Issue
Block a user