mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-12-18 01:00:15 +00:00
simple_neural_network.py: Fewer forward propogations to speed tests
Closes #9718
This commit is contained in:
parent
fe4aad0ec9
commit
1b31c25fc3
|
@ -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, 10000000)
|
||||
>>> res = forward_propagation(32, 100_000) # Was 10_000_000
|
||||
>>> res > 31 and res < 33
|
||||
True
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user