-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathExercise_1.py
More file actions
40 lines (15 loc) · 1023 Bytes
/
Copy pathExercise_1.py
File metadata and controls
40 lines (15 loc) · 1023 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#----------------------------------------------------------------------------
# Q1: Modify "1_nn_pytorch.py" and save the performance.
# Plot the performance index with respect to epochs.
#----------------------------------------------------------------------------
# Q2: Create a 4 layer network (for Q1) with the following sizes (1-100-50-20-1).
# Train the network and check the performance index.
#----------------------------------------------------------------------------
# Q3: Comparet the results of Q1 and Q2.
#----------------------------------------------------------------------------
# Q5: Find all the parameters of the network and write a for loop to print
# the size and name of the parameters.
#----------------------------------------------------------------------------'
# Q6: Save the gradient values for each weight in the csv file.
#----------------------------------------------------------------------------'
# Q7: If you increase epochs for Q6 what changes do you see?