Relation

The General Expression of Naive Bayes Classifier for Text Classification

The general model of Naive Bayes Classifier can be written as: c^=argmaxcClogP(c)+ilogP(wic)\hat{c}=argmax_{c\in C}\log P(c)+\sum_i \log P(w_i|c), where CC is the set of all possible classes, ii is the position of word wiw_i in the text. This is a linear model, since the prediction is computed as a linear combination of input features, ie., the words.

0

1

Updated 2022-06-17

Contributors are:

Who are from:

Tags

Data Science