spaCy get confidence on entity classification?

Anybody can help on how to get the confidence of ner classification? Is there a way to do this?

There's not a built-in method, but you can get approximate confidence using the code posted here:

Thanks Andy! Yes that’s correct, that’s the best current code to get entity scores at the moment.

1 Like