Skip to content

Commit

Permalink
Update print in predictions script
Browse files Browse the repository at this point in the history
  • Loading branch information
PPPI committed May 8, 2021
1 parent 50ebbb3 commit 141b5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Util/sample_predictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
hits[project].append(prompt_user_bool(f"Is {other[6:]} a true link?"))

for project in projects:
print('The GT accuracy over the sample is %2.3f' % np.mean(hits[project]))
print('The prediction accuracy over the sample is %2.3f' % np.mean(hits[project]))

with open('./gt_accuracy.json', 'w') as f:
f.write(json.dumps(hits))

0 comments on commit 141b5fb

Please sign in to comment.