Update app.py
Browse files
app.py
CHANGED
@@ -54,6 +54,9 @@ df.rename(columns={
|
|
54 |
'average_diff': 'Average Difference'
|
55 |
}, inplace=True)
|
56 |
|
|
|
|
|
|
|
57 |
#Create adjusted robustness score that accounts for g2b accuracy and difference in accuracy
|
58 |
|
59 |
df['Average Accuracy (Original and G2B)'] = (df['Average G2B Accuracy'] + df['Average Original Accuracy']) / 2
|
|
|
54 |
'average_diff': 'Average Difference'
|
55 |
}, inplace=True)
|
56 |
|
57 |
+
# Sort DataFrame by DrugMatchQA descending
|
58 |
+
df = df.sort_values(by='DrugMatchQA', ascending=False)
|
59 |
+
|
60 |
#Create adjusted robustness score that accounts for g2b accuracy and difference in accuracy
|
61 |
|
62 |
df['Average Accuracy (Original and G2B)'] = (df['Average G2B Accuracy'] + df['Average Original Accuracy']) / 2
|