This commit is contained in:
2023-05-17 18:19:24 +07:00
parent 6857c249da
commit e47ab2a855

View File

@@ -112,7 +112,6 @@ end
""" """
function learn!(n::linearNeuron, error::Number) function learn!(n::linearNeuron, error::Number)
n.eRec = n.phi * n.epsilonRec n.eRec = n.phi * n.epsilonRec
ΔwRecChange = n.eta * error * n.eRec ΔwRecChange = n.eta * error * n.eRec
n.wRecChange .+= ΔwRecChange n.wRecChange .+= ΔwRecChange
reset_epsilonRec!(n) reset_epsilonRec!(n)