Skip to content

Obtain confusion matrix from spacy evaluate command #9055

Discussion options

You must be logged in to vote

I was able to find the variables for true positives (tp), false positives (fp) and false negatives (fn) in the spaCy/spacy/scorer.py file, and then include them in the export metrics dictionary.

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@felipefoschiera
Comment options

Comment options

You must be logged in to vote
1 reply
@zakcali
Comment options

Answer selected by felipefoschiera
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests and improvements training Training and updating models feat / cli Feature: Command-line interface
5 participants