Start free trial
Take Naologic for a spin today, no credit card needed and no obligations.
Start free trial

Bag-Of-Words Model - What is an example of a bag-of-words?


The objects in a Bag-of-Words (BoW) model are text samples, and the characteristics are word counts. One example of a BoW feature vector is the following: [1, 0, 2, 0, 0, 0, 1, 1, 0, 0, 2] for the sentence "Another five fish find another faraway fish." This example is based on a feature dictionary mapping.