Learn Before
Concept
Bag of Word Assumption
Bag-of-Word Assumption is used to simplify the computation of Naive Bayes Classifier. It assumes that the positions of words in a document does not affect its classification. Based on this assumption, the features of a document can be simplified as the identical word encoding, discarding their relative ordering. Hence, the likelihood function P(d|c) can be written as
0
1
Updated 2026-05-18
Tags
Data Science