Update metric.py
Browse files
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
|
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'])
|