Get ready for the GARP Risk and AI Exam with flashcards and multiple choice questions. Each question comes with hints and explanations. Prepare for success!

Multiple Choice

Which variant records 1 if a word appears in a document and 0 otherwise?

This question tests a presence–absence encoding of text. In Binary Bag of Words, each word from the vocabulary gets a value of 1 if it appears at least once in the document, and 0 if it does not appear at all. This focuses on whether the word is present rather than how many times it occurs, which is why 1s and 0s are used. This differs from a standard Bag of Words, which uses term frequencies—the actual counts of how many times each word appears in the document. The Count Bag of Words is another name for that frequency-based approach. The Dictionary (Heuristic) isn’t a typical numeric encoding for each word’s presence/absence in a document.

This question tests a presence–absence encoding of text. In Binary Bag of Words, each word from the vocabulary gets a value of 1 if it appears at least once in the document, and 0 if it does not appear at all. This focuses on whether the word is present rather than how many times it occurs, which is why 1s and 0s are used.

This differs from a standard Bag of Words, which uses term frequencies—the actual counts of how many times each word appears in the document. The Count Bag of Words is another name for that frequency-based approach. The Dictionary (Heuristic) isn’t a typical numeric encoding for each word’s presence/absence in a document.