Spaces:
Sleeping
Sleeping
Ajaykanth Maddi commited on
Commit ·
0839acf
1
Parent(s): d11a586
Code Changes - Advanced Options
Browse files
app.py
CHANGED
|
@@ -204,12 +204,7 @@ def generate_advance_report(subset_dropdown, dataset_type_dropdown, chunking_dro
|
|
| 204 |
print(f"Failed to load questions for subset {subset_dropdown}: {e}")
|
| 205 |
|
| 206 |
# Compute RMSE and AUC for each question
|
| 207 |
-
metricsSummary = {
|
| 208 |
-
RELEVANCE_SCORE : "NA",
|
| 209 |
-
UTILIZATION_SCORE : "NA",
|
| 210 |
-
COMPLETENESS_SCORE : "NA",
|
| 211 |
-
ADHERENCE_SCORE : "NA"
|
| 212 |
-
}
|
| 213 |
for index in [RELEVANCE_SCORE, UTILIZATION_SCORE, COMPLETENESS_SCORE, ADHERENCE_SCORE]:
|
| 214 |
result = None
|
| 215 |
y_true, y_pred = extract_metric_lists(export_data['questions'], metric_key=index)
|
|
|
|
| 204 |
print(f"Failed to load questions for subset {subset_dropdown}: {e}")
|
| 205 |
|
| 206 |
# Compute RMSE and AUC for each question
|
| 207 |
+
metricsSummary = {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
for index in [RELEVANCE_SCORE, UTILIZATION_SCORE, COMPLETENESS_SCORE, ADHERENCE_SCORE]:
|
| 209 |
result = None
|
| 210 |
y_true, y_pred = extract_metric_lists(export_data['questions'], metric_key=index)
|