helloai0 commited on
Commit
982f955
1 Parent(s): c47b1a0

Update metric.py

Browse files
Files changed (1) hide show
  1. metric.py +1 -1
metric.py CHANGED
@@ -64,7 +64,7 @@ def compute(params):
64
  def _metric(outputs, targets):
65
  # inputs: public_solution_df[target_cols], public_submission_df[target_cols]
66
  # output: score
67
- for row, output in enumerate(outputs.iterrows()):
68
  print('output', output)
69
  answer = output['pred']
70
  label = str(targets.iloc[row]['pred'])
 
64
  def _metric(outputs, targets):
65
  # inputs: public_solution_df[target_cols], public_submission_df[target_cols]
66
  # output: score
67
+ for row, output in outputs.iterrows():
68
  print('output', output)
69
  answer = output['pred']
70
  label = str(targets.iloc[row]['pred'])