Yotam-Perlitz commited on
Commit
d87af0c
1 Parent(s): b5b0302

fix correlation type error

Browse files

Signed-off-by: Yotam-Perlitz <y.perlitz@ibm.com>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -714,7 +714,7 @@ plotted_scenario = st.selectbox(
714
  col1, col2, col3 = st.columns(3)
715
  cur_data = data.query(f"Benchmark=='{plotted_scenario}'")
716
  col1.metric("Relative agreement", cur_data["Relative agreement (Z Score)"])
717
- col2.metric("Kendall Tau Corr.", cur_data["Kendall Tau Corr."])
718
  col3.metric("p-value of Corr.", cur_data["p-value of Corr."])
719
 
720
  cur_df = allbench.df.query(f'scenario=="aggregate" or scenario=="{plotted_scenario}"')
 
714
  col1, col2, col3 = st.columns(3)
715
  cur_data = data.query(f"Benchmark=='{plotted_scenario}'")
716
  col1.metric("Relative agreement", cur_data["Relative agreement (Z Score)"])
717
+ col2.metric(corr_name, cur_data[corr_name])
718
  col3.metric("p-value of Corr.", cur_data["p-value of Corr."])
719
 
720
  cur_df = allbench.df.query(f'scenario=="aggregate" or scenario=="{plotted_scenario}"')