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

Bag-Of-Words Model In Computer Vision - What is an example of the bag-of-words model?

Answer

In the bag-of-words model, let's say we have a vocabulary of 10 words derived from the documents. Each of these words is given a unique integer index in the output vector. The inverse document frequencies are then computed for each word in the vocabulary. The most commonly observed words like 'it', 'of', 'the', and 'was' are assigned the lowest score of 1.0.