CFA Level I · CFA Level I Exam · Introduction to Financial Data Science
An analyst builds a bag-of-words document term matrix from 2,000 corporate disclosures to predict whether a firm will cut its dividend. Compared with a representation that preserves word order, the bag-of-words approach most likely:
Bag-of-words most likely loses information about word sequence and context. It counts tokens per document without regard to order, so phrases like "did not increase" are not captured reliably. The matrix still has one row per document, and handling of negation is weaker, not stronger.
- Aloses information about the sequence and context of wordsCorrect
- Bcaptures negation such as "did not increase" more reliably
- Crequires fewer rows than the number of documents
Explanation
Bag-of-words treats each document as a collection of token counts and ignores order, so context such as negation is lost. It still has one row per document, so the third option is wrong. Negation is handled worse, not better.
Did you get it right without looking?
One question tells you little. A timed set on Introduction to Financial Data Science shows your real accuracy, how long you take and where you lose marks.
More Introduction to Financial Data Science questions
- A data scientist converts a column of text analyst comments into numerical features that a machine learning model can use. Which step in tex…
- A researcher wants to show the distribution, median, quartiles and outliers of monthly returns for several funds side by side. The visualiza…
- A model predicting loan defaults achieves very low error on the training data but performs poorly on new data. This outcome is best describe…
- A data scientist wants to see how the term frequency of the words appearing in a set of central bank statements compares across words, using…
- An asset manager wants to analyze thousands of earnings call recordings and news articles alongside price data. Which characteristic of big …
- An analyst collects a dataset containing each firm's credit rating (AAA, AA, A, BBB), where the ratings have a clear ranking but the gaps be…