I am working on a text classification work. The purpose of this work is to classify whether a particular document belong to class A or Class B.
I used KNN algorithm and i am able to get some decent results. However I want to know two things.
- Why a particular document has been classified as Class A or Class B? What keyword or information that made a document to be classified as such?
- How to perform mis-classification analysis?
Kindly help.