引導式測驗 · 中等 等級

TF-IDF 和詞袋模型測驗

回顧詞袋和 TF-IDF 如何表示文件、對獨特術語進行加權以及支援稀疏資訊檢索。

相關引導路徑Tf IDF 和詞袋模型
問題 1 的 8

詞袋模型會丟棄哪些關鍵資訊?

預覽每個問題8 問題

當您參加測驗時,就會出現答案和解釋。

  1. 詞袋模型會丟棄哪些關鍵資訊?
    • 單字的順序和語法
    • 單字很重要
    • 詞彙
    • 文件長度
  2. TF-IDF 的 IDF 部分有什麼作用?
    • 增強所有文件中常見的單字
    • 降低許多文件中出現的單字的權重
    • 計算字元數
    • 翻譯生僻字
  3. 出現在集合中每個文件中的單字的 IDF 值接近多少?
    • 一千
    • 負無窮大
    • 零
    • 文件計數
  4. 術語的 TF-IDF 分數是如何計算的?
    • TF 減去 IDF
    • TF 除以 IDF
    • TF加上文件長度
    • TF 乘以 IDF
  5. 哪一種相似性度量通常用於比較 TF-IDF 文件向量?
    • 餘弦相似度
    • 編輯距離
    • 均方誤差
    • 位數
  6. 為什麼 TF-IDF 會給某些單字高分?
    • 它們是很長的詞
    • 它們在一份文件中很常見,但在整個集合中很少見
    • 它們出現在每個文件中
    • 它們都是大寫的
  7. In a bag-of-words representation, what does a vector position usually correspond to?
    • A sentence’s original word position
    • A document’s publication date
    • A term in the vocabulary
    • A grammatical parse-tree branch
  8. In the common IDF formula log(N/df), what does df represent?
    • The number of times a word appears in one document
    • The total number of words in the vocabulary
    • The number of labels assigned to a document
    • The number of documents containing the term