interface MultinomialNBModelInterface
Interface that describes a NB model.
All that we need is the prior probability of a class
and the conditional probability of a term given a class.
Methods
getPrior($class) | ||
getCondProb($term, $class) |
interface MultinomialNBModelInterface
Interface that describes a NB model.
All that we need is the prior probability of a class
and the conditional probability of a term given a class.
getPrior($class) | ||
getCondProb($term, $class) |
public
getPrior($class)
public
getCondProb($term, $class)