log likelihood probabilities
Calculate the log score of having the given features and label
Calculate the log score of having the given features and label
label and features
a function that calculates the likelihood when a feature value is not present. The input to the function is the other feature value likelihoods.
log score when label is present. None otherwise.
Return the label that yields the highest score
Return the label that yields the highest score
features for classification
log prior probabilities
Model for naive Bayes classifiers with categorical variables.
log prior probabilities
log likelihood probabilities