Current Slide

Small screen detected. You are viewing the mobile version of SlideWiki. If you wish to edit slides you will need to use a larger device.

Multinomial Naive Bayes: Learning

  • From training corpus, extract Vocabulary
  • Calculate required P(cj) and P(xk | cj) terms
    • For each cj in C do
      • docsj ← subset of documents for which the target class is cj
      • Textj ← single document containing all docsj
        • for each word xk in Vocabulary
        • nk ← number of occurrences of xk in Textj

Speaker notes:

Content Tools

Sources

There are currently no sources for this slide.