Bernd-Ebenhoch commited on
Commit
5de2488
·
1 Parent(s): f6f73d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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, height=25)
54
 
55
- prob_A = st.text_input('Click probability of ad A', 0.4, height=75)
56
 
57
- prob_B = st.text_input('Click probability of ad B', 0.5, height=75)
58
 
59
- epochs = int(st.text_input('Number of ad impressions (epochs)', 2000, height=75))
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