Skip to content

Instantly share code, notes, and snippets.

@abhishek-shrm
Created October 4, 2020 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save abhishek-shrm/24a3b00ec5fcd17c2da977427f871337 to your computer and use it in GitHub Desktop.
Save abhishek-shrm/24a3b00ec5fcd17c2da977427f871337 to your computer and use it in GitHub Desktop.
# Evaluating on test set
test_precision,test_recall,test_Fmeasure=evaluate_micro_average(df_test['keys'].values,df_test['pred_keys'])
print('Precision=>',test_precision)
print('Recall=>',test_recall)
print('F-measure=>',test_Fmeasure)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment