Skip to content

Instantly share code, notes, and snippets.

@JohnDeJesus22
Created July 19, 2020 03:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnDeJesus22/9535b1acb078cf38b2a3108a5034edb4 to your computer and use it in GitHub Desktop.
Save JohnDeJesus22/9535b1acb078cf38b2a3108a5034edb4 to your computer and use it in GitHub Desktop.
fowlkes-mallows index
recall = cm[1,1]/(cm[1,1] + cm[1,0])
precision = cm[1,1]/(cm[1,1] + cm[0, 1])
fmi = sqrt(precision * recall)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment