Multichem commited on
Commit
c4ddc6d
·
verified ·
1 Parent(s): ad48ab1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -154,6 +154,10 @@ with col2:
154
  sp_val = pitcher_check['xHR/PA'].iloc[0]
155
  bp_val = bullpen_check['Homeruns'].iloc[0] / bullpen_check['PA'].iloc[0]
156
  value = calc_poisson(hitter_val, sp_val, bp_val, sp_count, bp_count)
 
 
157
  st.write(f"Theoretical mean of the SP instances: {value[0]}")
 
158
  st.write(f"Theoretical mean of the BP instances: {value[1]}")
 
159
  st.write(f"Sample mean from generated data: {value[2]}")
 
154
  sp_val = pitcher_check['xHR/PA'].iloc[0]
155
  bp_val = bullpen_check['Homeruns'].iloc[0] / bullpen_check['PA'].iloc[0]
156
  value = calc_poisson(hitter_val, sp_val, bp_val, sp_count, bp_count)
157
+
158
+ st.table(hitter_check)
159
  st.write(f"Theoretical mean of the SP instances: {value[0]}")
160
+ st.table(pitcher_check)
161
  st.write(f"Theoretical mean of the BP instances: {value[1]}")
162
+ st.table(bullpen_check)
163
  st.write(f"Sample mean from generated data: {value[2]}")