refractoring
This commit is contained in:
@@ -291,9 +291,9 @@ end
|
||||
"""
|
||||
function synapticConnStrength(currentStrength::AbstractFloat, bias::Number=0)
|
||||
currentStrength += bias
|
||||
currentStrength - (1.0 - sigmoid(currentStrength))
|
||||
currentStrength -= bias
|
||||
return currentStrength
|
||||
updatedStrength - (1.0 - sigmoid(currentStrength))
|
||||
updatedStrength -= bias
|
||||
return updatedStrength
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user