Spaces:
Running
Running
Zekun Wu
commited on
Commit
•
3922c93
1
Parent(s):
1955778
update
Browse files- pages/2_Evaluation.py +3 -3
pages/2_Evaluation.py
CHANGED
@@ -40,14 +40,14 @@ def app():
|
|
40 |
if st.button('Evaluate Data'):
|
41 |
with st.spinner('Evaluating data...'):
|
42 |
statistical_results = statistical_tests(df)
|
43 |
-
correlation_results = calculate_correlations(df)
|
44 |
#divergence_results = calculate_divergences(df)
|
45 |
|
46 |
flat_statistical_results = {f"Statistical_{key1}": value1 for key1, value1 in statistical_results.items()}
|
47 |
-
flat_correlation_results = {f"Correlation_{key1}": value1 for key1, value1 in correlation_results.items()}
|
48 |
#flat_divergence_results = {f"Divergence_{key1}": value1 for key1, value1 in divergence_results.items()}
|
49 |
|
50 |
-
results_combined = {**flat_statistical_results
|
51 |
|
52 |
results_df = pd.DataFrame(list(results_combined.items()), columns=['Metric', 'Value'])
|
53 |
|
|
|
40 |
if st.button('Evaluate Data'):
|
41 |
with st.spinner('Evaluating data...'):
|
42 |
statistical_results = statistical_tests(df)
|
43 |
+
#correlation_results = calculate_correlations(df)
|
44 |
#divergence_results = calculate_divergences(df)
|
45 |
|
46 |
flat_statistical_results = {f"Statistical_{key1}": value1 for key1, value1 in statistical_results.items()}
|
47 |
+
#flat_correlation_results = {f"Correlation_{key1}": value1 for key1, value1 in correlation_results.items()}
|
48 |
#flat_divergence_results = {f"Divergence_{key1}": value1 for key1, value1 in divergence_results.items()}
|
49 |
|
50 |
+
results_combined = {**flat_statistical_results} #,**flat_correlation_results}#, **flat_divergence_results}
|
51 |
|
52 |
results_df = pd.DataFrame(list(results_combined.items()), columns=['Metric', 'Value'])
|
53 |
|