Skip to content

Commit 1d6b28f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2b636e0 commit 1d6b28f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

neural_network/simple_neural_network.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ def sigmoid_function(value: float, deriv: bool = False) -> float:
2424
# Initial Value
2525
INITIAL_VALUE = 0.02
2626

27+
2728
def forward_propagation(expected, number_propagations):
2829
# Random weight initialization
2930
weight = 2 * (random.random() - 0.5)
3031

32+
3133
def forward_propagation(expected: int, number_propagations: int) -> float:
3234
"""Return the value found after the forward propagation training.
3335

0 commit comments

Comments
 (0)