NLP, Python, Spacy.
['orange'] // estimated = ('orange', 0.40097832679748535) compare_labels(testing[2678]) # fileid test/20972 :: expected = ['earn'] // estimated = ('earn', 0.9994577765464783) As you see, in three cases, the estimated category matches. Compare Multi-Label and Single-Label Categorization Training To