naive bayes classification, what "simple distribution" means?

barthos
barthos New Altair Community Member
edited November 2024 in Community Q&A
Hello,

I have used the tutorial (http://vancouverdata.blogspot.com/2010/11/text-analytics-with-rapidminer-loading.html) to obtain a bayesian classificator on text data.
It works properly but I would like to understand the meaning of one of the output called "simple distribution (naive Bayes)" . It looks like gaussian curves for each word and for different categories.
I guessed it represents the density of probability of the TF-IDF of the words knowing the category but I don't understand why it can be negative. Moreover, it looks like for words that are caracteristics from the category, the gaussian curve is flat although for non meaningfull words, it is straight and centered on zero.
Can anyone give me some clues about all that?

Thanks a lot,
Barthélémy
Tagged:

Answers

  • land
    land New Altair Community Member
    Hi,
    please refer to the Wikipedia article at http://en.wikipedia.org/wiki/Naive_bayes to understand how NaiveBayes works.
    I think then the meaning of the distribution plots should become clear, if you take into account that there's a small minimal deviation for attributes that are always zero.


    Greetings,
      Sebastian
  • barthos
    barthos New Altair Community Member
    Thanks a lot!!!
    Barthélémy