pratyushmaini commited on
Commit
9ff938b
1 Parent(s): 837dffe

remove plots

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -18,7 +18,8 @@ def load_data(model,version):
18
  ]
19
  #if there is a column with name WD, modify each entry in Method to include WD: method (WD = wd)
20
  if "WD" in df.columns:
21
- df["Method"] = df["Method"].apply(lambda x: x + " (WD = " + str(df["WD"][0]) + ")")
 
22
  df = df[column_names]
23
  # if there are multiple rows with the same method, keep only the one with the highest product of model utility and forget quality
24
  product = df["Model Utility"] * df["Forget Quality"]
 
18
  ]
19
  #if there is a column with name WD, modify each entry in Method to include WD: method (WD = wd)
20
  if "WD" in df.columns:
21
+ #get the WD column entry for each row and add it to the method name
22
+ df["Method"] = df["Method"] + " (WD = " + df["WD"].astype(str) + ")"
23
  df = df[column_names]
24
  # if there are multiple rows with the same method, keep only the one with the highest product of model utility and forget quality
25
  product = df["Model Utility"] * df["Forget Quality"]