Update simple_neural_network.py

This commit is contained in:
Christian Clauss 2023-10-27 23:19:24 +02:00 committed by GitHub
parent dc7448d59f
commit 8668f5792d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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