Skip to content

Commit

Permalink
simple_neural_network.py: Fewer forward propogations to speed tests
Browse files Browse the repository at this point in the history
Closes #9718
  • Loading branch information
cclauss committed Oct 26, 2023
1 parent fe4aad0 commit 1b31c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neural_network/simple_neural_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def sigmoid_function(value: float, deriv: bool = False) -> float:
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
Expand Down

0 comments on commit 1b31c25

Please sign in to comment.