Skip to content

Commit 1b31c25

Browse files
authored
simple_neural_network.py: Fewer forward propogations to speed tests
Closes #9718
1 parent fe4aad0 commit 1b31c25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neural_network/simple_neural_network.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def sigmoid_function(value: float, deriv: bool = False) -> float:
2828
def forward_propagation(expected: int, number_propagations: int) -> float:
2929
"""Return the value found after the forward propagation training.
3030
31-
>>> res = forward_propagation(32, 10000000)
31+
>>> res = forward_propagation(32, 100_000) # Was 10_000_000
3232
>>> res > 31 and res < 33
3333
True
3434

0 commit comments

Comments
 (0)