Hack90 commited on
Commit
6ba8217
1 Parent(s): 12ab087

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1009,7 +1009,7 @@ with ui.navset_card_tab(id="tab"):
1009
  for param_type in param_types:
1010
  for loss_type in loss_types:
1011
  for model_type in model_types:
1012
- y = df[df['param_type'] ==param_type && df['loss_type'] == loss_type && df['model_type'] == model_type]['loss'].dropna().astype('float', errors = 'ignore').dropna().values
1013
  f = interp1d(np.linspace(0, 1, len(y)), y)
1014
  loss_rates.append(f(x))
1015
  labels.append(str(param_type) +'_'+loss_type +'_'+model_type)
 
1009
  for param_type in param_types:
1010
  for loss_type in loss_types:
1011
  for model_type in model_types:
1012
+ y = df[(df['param_type'] ==param_type) & (df['loss_type'] == loss_type ) & (df['model_type'] == model_type)]['loss'].dropna().astype('float', errors = 'ignore').dropna().values
1013
  f = interp1d(np.linspace(0, 1, len(y)), y)
1014
  loss_rates.append(f(x))
1015
  labels.append(str(param_type) +'_'+loss_type +'_'+model_type)