Skip to content

Instantly share code, notes, and snippets.

@mmmayo13
Created October 14, 2016 12:50
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 mmmayo13/6055bc970e58746a588a6329a53602bf to your computer and use it in GitHub Desktop.
Save mmmayo13/6055bc970e58746a588a6329a53602bf to your computer and use it in GitHub Desktop.
pd.DataFrame(runResults["confusionMatrix"])\
.pivot_table(index="actual", columns="predicted", fill_value=0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment