Spaces:
Runtime error
Runtime error
Yotam-Perlitz
commited on
Commit
·
d87af0c
1
Parent(s):
b5b0302
fix correlation type error
Browse filesSigned-off-by: Yotam-Perlitz <y.perlitz@ibm.com>
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(
|
| 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}"')
|