Bayesian Learning

Classify Naive Bayes Text

  1. $positions \leftarrow$ all word positions in $Doc$ that contain tokens found in $Vocabulary$
  2. Return $v_{NB}$, where \[v_{NB} = \argmax_{v_{j} \in V} P(v_{j}) \prod_{i \in positions}P(a_{i}\,|\,v_{j}) \]

José M. Vidal .

24 of 39