Spaces:
Sleeping
Sleeping
Commit
·
5de2488
1
Parent(s):
f6f73d9
Update app.py
Browse files
app.py
CHANGED
@@ -50,13 +50,13 @@ st.markdown(
|
|
50 |
'Simulate A/B optimization with policy gradient reinforcement learning')
|
51 |
|
52 |
|
53 |
-
learning_rate = st.text_input('Learning rate', value=0.1
|
54 |
|
55 |
-
prob_A = st.text_input('Click probability of ad A', 0.4
|
56 |
|
57 |
-
prob_B = st.text_input('Click probability of ad B', 0.5
|
58 |
|
59 |
-
epochs = int(st.text_input('Number of ad impressions (epochs)', 2000
|
60 |
|
61 |
information_for_plotting = np.zeros((epochs, 10))
|
62 |
|
|
|
50 |
'Simulate A/B optimization with policy gradient reinforcement learning')
|
51 |
|
52 |
|
53 |
+
learning_rate = st.text_input('Learning rate', value=0.1)
|
54 |
|
55 |
+
prob_A = st.text_input('Click probability of ad A', value=0.4)
|
56 |
|
57 |
+
prob_B = st.text_input('Click probability of ad B', value=0.5)
|
58 |
|
59 |
+
epochs = int(st.text_input('Number of ad impressions (epochs)', value=2000))
|
60 |
|
61 |
information_for_plotting = np.zeros((epochs, 10))
|
62 |
|