forward_propagation(32, 1_000_000) # Was 10_000_000

This commit is contained in:
Christian Clauss 2023-10-27 13:16:22 +02:00 committed by GitHub
parent 6837542341
commit ed4ec69c76
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, 100_000) # Was 10_000_000
>>> res = forward_propagation(32, 1_000_000) # Was 10_000_000
>>> res > 31 and res < 33
True