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

Counting word occurrences is the essential idea here: it records how many times each word appears in a document. Count Bag of Words provides a vector where each entry is the exact number of appearances for that word, preserving the raw counts across the vocabulary. This makes it a direct representation of how often words show up, unlike Term Frequency, which would normalize those counts into frequencies rather than keeping the exact counts. A plain Bag of Words can be about presence/absence or counts depending on usage, but when you need the explicit number of occurrences for each word, the Count Bag of Words is the precise fit. A dictionary-based or heuristic approach doesn’t inherently produce per-word occurrence counts in a document, so it doesn’t match this requirement.

Counting word occurrences is the essential idea here: it records how many times each word appears in a document. Count Bag of Words provides a vector where each entry is the exact number of appearances for that word, preserving the raw counts across the vocabulary. This makes it a direct representation of how often words show up, unlike Term Frequency, which would normalize those counts into frequencies rather than keeping the exact counts. A plain Bag of Words can be about presence/absence or counts depending on usage, but when you need the explicit number of occurrences for each word, the Count Bag of Words is the precise fit. A dictionary-based or heuristic approach doesn’t inherently produce per-word occurrence counts in a document, so it doesn’t match this requirement.