Similar to this previous question How to calculate the overall accuracy of custom trained spacy ner model with confusion matrix?
spaCy provides Precision, Recall, F1 scores in the meta.json
file when it writes out the trained NER model. Also these values are available when running the evaluation command python -m spacy evaluate
. However is it possible to get the counts for TP, FP, FN used to calculate these values?
Furthermore is it possible to output the actual text / tokens which resulted in a False Positive or False Negative?