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 representation records the number of times a word appears in a document?

The essential idea here is capturing how often each word shows up in a document, which is term frequency used as features. A Count Bag of Words stores the exact number of occurrences for every word in the vocabulary. In vector form, each dimension corresponds to a word, and the value is the raw count of how many times that word appears in the document. This directly records the frequency information used by many text-processing models. This differs from a Binary Bag of Words, which would only indicate whether a word appears at all (1) or not (0), ignoring how many times it occurs. A Dictionary (Heuristic) representation isn’t about counting word occurrences; it’s more about a predefined vocabulary or mapping without necessarily tracking exact counts. So the representation that explicitly records how many times each word appears is the Count Bag of Words.

The essential idea here is capturing how often each word shows up in a document, which is term frequency used as features. A Count Bag of Words stores the exact number of occurrences for every word in the vocabulary. In vector form, each dimension corresponds to a word, and the value is the raw count of how many times that word appears in the document. This directly records the frequency information used by many text-processing models.

This differs from a Binary Bag of Words, which would only indicate whether a word appears at all (1) or not (0), ignoring how many times it occurs. A Dictionary (Heuristic) representation isn’t about counting word occurrences; it’s more about a predefined vocabulary or mapping without necessarily tracking exact counts. So the representation that explicitly records how many times each word appears is the Count Bag of Words.