PdfPrep.com

Assuming they used a binary vectorizer, what is the resulting weight for the word cat?

A data analyst creates a term-document matrix for the following sentence:

I saw a cat, a dog and another cat.

Assuming they used a binary vectorizer, what is the resulting weight for the word cat?
A . 0
B . 1
C . 3
D . 2

Answer: B

Exit mobile version