shanchen commited on
Commit
3e827b2
·
verified ·
1 Parent(s): b54a4db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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