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

Posted by: Pdfprep Category: C1000-059 Tags: , ,

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

Leave a Reply

Your email address will not be published.