🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

[SOLVED] Visualizing text catagorisation model

User: "nennat"
New Altair Community Member
Updated by Jocelyn
Hi all,

I have a little question. For text classification I have tried different modeling techniques (Naïve Bayes, libSVM and K-NN). The performance is not really great, but I expect that is due to quality of the data and the overlap of the different categories (which is probably the reason why a decision tree is not working).

However to report on this I would like to visualize this by showing what words/elements are having a major influences on the model in its decision to allocate a text to a certain category. Maybe I am explaining this terribly (that might be reason why I haven't been able to find anything on this topic yet). But my question in layman's terms would be: How can I see what words "trigger" a certain category?

Thank you very much for your help!
Sort by:
1 - 1 of 11
    User: "MariusHelf"
    New Altair Community Member
    Hi,

    for k-NN it is quite hard to interpret the model. For Naive Bayes you can connect its model output port to the process output and investigate the model. The Linear (!!!) SVM delivers a well-interpretable weights vector, which you can inspect either by looking at the model, or by connecting the weights output to the process output.

    Best regards,
    Marius