Working Version
This commit is contained in:
parent
0c99b10651
commit
e21c4f72e7
@ -54,9 +54,9 @@ def logica_offset(offset, error, errorObjetivo):
|
||||
limSup = 1 + errorObjetivo
|
||||
limInf = 1 - errorObjetivo
|
||||
|
||||
if error <= limSup and error >= limInf: return True, None
|
||||
if error <= limSup and error >= limInf: return True, None, None
|
||||
|
||||
tasa_aprendizaje = 0.1
|
||||
tasa_aprendizaje = 1
|
||||
|
||||
desviacion = error - 1
|
||||
delta = abs(tasa_aprendizaje * np.tanh(desviacion))
|
||||
|
Loading…
Reference in New Issue
Block a user