nerdexam
Amazon

MLA-C01 · Question #104

A term frequency-inverse document frequency (tf-idf) matrix using both unigrams and bigrams is built from a text corpus consisting of the following two sentences: 1. Please call the number below. 2. P

Sign in or unlock MLA-C01 to reveal the answer and full explanation for question #104. The question stem and answer options stay visible for context.

Data Preparation for Machine Learning

Question

A term frequency-inverse document frequency (tf-idf) matrix using both unigrams and bigrams is built from a text corpus consisting of the following two sentences: 1. Please call the number below. 2. Please do not call us. What are the dimensions of the tf-idf matrix?

Options

  • A(2, 16)
  • B(2, 8)
  • C(2, 10)
  • D(8, 10)

Unlock MLA-C01 to see the answer

You've previewed enough free MLA-C01 questions. Unlock MLA-C01 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#TF-IDF#Feature Engineering#N-grams#Natural Language Processing
Full MLA-C01 Practice