mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
Update simple_neural_network.py
This commit is contained in:
parent
dc7448d59f
commit
8668f5792d
|
@ -28,7 +28,7 @@ INITIAL_VALUE = 0.02
|
|||
def forward_propagation(expected: int, number_propagations: int) -> float:
|
||||
"""Return the value found after the forward propagation training.
|
||||
|
||||
>>> res = forward_propagation(32, 500_000) # Was 10_000_000
|
||||
>>> res = forward_propagation(32, 450_000) # Was 10_000_000
|
||||
>>> res > 31 and res < 33
|
||||
True
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user