Spaces:
Sleeping
Sleeping
Zekun Wu
commited on
Commit
•
473c1df
1
Parent(s):
e770ab5
update
Browse files
pages/2_Evaluation_Multiple.py
CHANGED
@@ -24,9 +24,9 @@ def app():
|
|
24 |
if st.button('Evaluate Data'):
|
25 |
with st.spinner('Evaluating data...'):
|
26 |
# Existing statistical tests
|
27 |
-
test_results = statistical_tests(df
|
28 |
st.write('Test Results:', test_results)
|
29 |
-
# evaluation_results = result_evaluation(test_results
|
30 |
# st.write('Evaluation Results:', evaluation_results)
|
31 |
|
32 |
# New correlation calculations
|
@@ -38,7 +38,7 @@ def app():
|
|
38 |
st.write('Divergence Results:', divergence_results)
|
39 |
|
40 |
# Allow downloading of the evaluation results
|
41 |
-
results_combined = {**
|
42 |
results_df = pd.DataFrame.from_dict(results_combined, orient='index', columns=['Value'])
|
43 |
st.download_button(
|
44 |
label="Download Evaluation Results",
|
|
|
24 |
if st.button('Evaluate Data'):
|
25 |
with st.spinner('Evaluating data...'):
|
26 |
# Existing statistical tests
|
27 |
+
test_results = statistical_tests(df)
|
28 |
st.write('Test Results:', test_results)
|
29 |
+
# evaluation_results = result_evaluation(test_results)
|
30 |
# st.write('Evaluation Results:', evaluation_results)
|
31 |
|
32 |
# New correlation calculations
|
|
|
38 |
st.write('Divergence Results:', divergence_results)
|
39 |
|
40 |
# Allow downloading of the evaluation results
|
41 |
+
results_combined = {**test_results, **correlation_results, **divergence_results}
|
42 |
results_df = pd.DataFrame.from_dict(results_combined, orient='index', columns=['Value'])
|
43 |
st.download_button(
|
44 |
label="Download Evaluation Results",
|