I am trying to create a binary classifier with spacy 2.1.3 and in order to perform an overfitting test I would like to evaluate losses on the test sample. In their tutorial losses are used as a parameter and somehow updated:
https://github.com/explosion/spaCy/blob/master/examples/training/train_textcat.py#L90
I cannot find any example of how to evaluate it on my test sample. Ideally I would like to produce plots as show here:
I tried digging into their code but I didn't find anything useful. Has anyone tried to produce similar plots?
Thank you for your help and comments :)