Skip to content

Commit

Permalink
updating codes
Browse files Browse the repository at this point in the history
  • Loading branch information
mhjensen committed Feb 5, 2024
1 parent 5befc52 commit 9ce2b31
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 69 deletions.
65 changes: 0 additions & 65 deletions doc/src/week3/programs/#simplenn.py#

This file was deleted.

1 change: 0 additions & 1 deletion doc/src/week3/programs/.#simplenn.py

This file was deleted.

5 changes: 2 additions & 3 deletions doc/src/week3/programs/simplenn.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ def backpropagation(x, y):
y = 2*x+1.0

# Defining the neural network, only scalars
n_inputs = x.shape
n_features = 1
n_hidden_neurons = 1
n_inputs, n_features = X.shape
n_hidden_neurons = 2
n_outputs = 1

# Initialize the network
Expand Down

0 comments on commit 9ce2b31

Please sign in to comment.