Spaces:
Running
Running
Commit
·
6a2352e
1
Parent(s):
7350573
Update app.py
Browse files
app.py
CHANGED
@@ -52,13 +52,13 @@ st.markdown(
|
|
52 |
'Simulate A/B optimization with policy gradient reinforcement learning')
|
53 |
|
54 |
|
55 |
-
lr = float(st.text_input('Learning rate', value=0.
|
56 |
|
57 |
-
prob_A = float(st.text_input('Click probability of ad A', value=0.
|
58 |
|
59 |
-
prob_B = float(st.text_input('Click probability of ad B', value=0.
|
60 |
|
61 |
-
epochs = int(st.text_input('Number of ad impressions (epochs)', value=
|
62 |
|
63 |
information_for_plotting = np.zeros((epochs, 10))
|
64 |
|
|
|
52 |
'Simulate A/B optimization with policy gradient reinforcement learning')
|
53 |
|
54 |
|
55 |
+
lr = float(st.text_input('Learning rate', value=0.5))
|
56 |
|
57 |
+
prob_A = float(st.text_input('Click probability of ad A', value=0.3))
|
58 |
|
59 |
+
prob_B = float(st.text_input('Click probability of ad B', value=0.54
|
60 |
|
61 |
+
epochs = int(st.text_input('Number of ad impressions (epochs)', value=1000))
|
62 |
|
63 |
information_for_plotting = np.zeros((epochs, 10))
|
64 |
|