Spaces:
Sleeping
Sleeping
Commit
·
7350573
1
Parent(s):
2733fb3
Update app.py
Browse files
app.py
CHANGED
@@ -68,6 +68,9 @@ if st.button('Run the ad campaign and display the results'):
|
|
68 |
|
69 |
for epoch in range(epochs):
|
70 |
|
|
|
|
|
|
|
71 |
output, action, loss, grads = action_selection(model)
|
72 |
|
73 |
# Next we are applying the action by displaying ad A or B
|
|
|
68 |
|
69 |
for epoch in range(epochs):
|
70 |
|
71 |
+
# The neural network is used to choose the action
|
72 |
+
# To display the learning progress, we also record the
|
73 |
+
# model output, loss and gradients
|
74 |
output, action, loss, grads = action_selection(model)
|
75 |
|
76 |
# Next we are applying the action by displaying ad A or B
|