Bernd-Ebenhoch commited on
Commit
6a2352e
·
1 Parent(s): 7350573

Update app.py

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