Skip to main content
1 of 3
Erel Segal-Halevi
  • 6.2k
  • 1
  • 24
  • 60

A text-classifier that explains its decisions

I am building a text categorizer for short sentences. In addition to telling the user "the category of the text you entered is X", I want to be able to explain why I made this decision, in a short and understandable way. For example, I don't want to tell the user "I put your sentence into a complex 3-layered neural network and that's the answer that scored the best"; I want explanations such as "Your sentence contains the words A, B and C, that are characteristic of this category, because of sentences such as X, Y and Z that appeared in the training data".

My question is: what classification algorithms are best suited for such application?

Erel Segal-Halevi
  • 6.2k
  • 1
  • 24
  • 60