开发者:上海品职教育科技有限公司 隐私政策详情

应用版本:4.2.11(IOS)|3.2.5(安卓)APP下载

西红柿面 · 2024年03月12日

TF-IDF里面DF是什么Level的呀

NO.PZ2021083101000004

问题如下:

Bector then computes TF–IDF (term frequency–inverse document frequency) for several words in the collection and tells Azarov the following:

    Statement 1 IDF is equal to the inverse of the document frequency measure.

    Statement 2 TF at the collection level is multiplied by IDF to calculate TF–IDF.

    Statement 3 TF–IDF values vary by the number of documents in the dataset, and therefore, model performance can vary when applied to a dataset with just a few documents.

    Which of Bector’s statements regarding TF, IDF, and TF–IDF is correct?

    选项:

    A.

    Statement 1

    B.

    Statement 2

    C.

    Statement 3

    解释:

    C is correct.

    Statement 3 is correct. TF–IDF values vary by the number of documents in the dataset, and therefore, the model performance can vary when applied to a dataset with just a few documents.

    A is incorrect because IDF is calculated as the log of the inverse, or reciprocal, of the document frequency (DF) measure.

    B is incorrect because TF at the sentence (not collection) level is multiplied by IDF to calculate TF–IDF.

    考点:Unstructured Data Exploration - Feature Selection - Different TF measures

    DF的计算方式是:出现单词的句子次数➗整体文本库中句子的数量,那这样的话,DF是Sentence level吗?


    1 个答案
    已采纳答案

    品职助教_七七 · 2024年03月12日

    嗨,爱思考的PZer你好:


    只有TF才有collection和sentence level的区分。DF只有一种算法,如下:

    ----------------------------------------------
    就算太阳没有迎着我们而来,我们正在朝着它而去,加油!

    • 1

      回答
    • 2

      关注
    • 271

      浏览
    相关问题

    NO.PZ2021083101000004 问题如下 Bector then computes TF–I (term frequency–inverse cument frequency) for severwor in the collection antells Azarov the following: Statement 1 I is equto the inverse of the cument frequenmeasure. Statement 2 TF the collection level is multiplieI to calculate TF–I. Statement 3 TF–I values vary the number of cuments in the taset, antherefore, mol performancvary when applieto a taset with just a few cuments.Whiof Bector’s statements regarng TF, I, anTF–I is correct? A.Statement 1 B.Statement 2 C.Statement 3 C is correct. Statement 3 is correct. TF–I values vary the number of cuments in the taset, antherefore, the mol performancvary when applieto a taset with just a few cuments.A is incorrebecause I is calculatethe log of the inverse, or reciprocal, of the cument frequen() measure.B is incorrebecause TF the senten(not collection) level is multiplieI to calculate TF–I.考点Unstructureta Exploration - Feature Selection - fferent TF measures 没怎么看明白

    2024-09-22 19:28 1 · 回答

    NO.PZ2021083101000004问题如下 Bector then computes TF–I (term frequency–inverse cument frequency) for severwor in the collection antells Azarov the following: Statement 1 I is equto the inverse of the cument frequenmeasure. Statement 2 TF the collection level is multiplieI to calculate TF–I. Statement 3 TF–I values vary the number of cuments in the taset, antherefore, mol performancvary when applieto a taset with just a few cuments.Whiof Bector’s statements regarng TF, I, anTF–I is correct? A.Statement 1B.Statement 2C.Statement 3 C is correct. Statement 3 is correct. TF–I values vary the number of cuments in the taset, antherefore, the mol performancvary when applieto a taset with just a few cuments.A is incorrebecause I is calculatethe log of the inverse, or reciprocal, of the cument frequen() measure.B is incorrebecause TF the senten(not collection) level is multiplieI to calculate TF–I.考点Unstructureta Exploration - Feature Selection - fferent TF measures 一个英文的问题,虽然I是inverse cument frequency,但是inverse of cument frequency特指的倒数,所以不对,这样理解对吗

    2024-05-16 11:36 2 · 回答

    NO.PZ2021083101000004 问题如下 Bector then computes TF–I (term frequency–inverse cument frequency) for severwor in the collection antells Azarov the following: Statement 1 I is equto the inverse of the cument frequenmeasure. Statement 2 TF the collection level is multiplieI to calculate TF–I. Statement 3 TF–I values vary the number of cuments in the taset, antherefore, mol performancvary when applieto a taset with just a few cuments.Whiof Bector’s statements regarng TF, I, anTF–I is correct? A.Statement 1 B.Statement 2 C.Statement 3 C is correct. Statement 3 is correct. TF–I values vary the number of cuments in the taset, antherefore, the mol performancvary when applieto a taset with just a few cuments.A is incorrebecause I is calculatethe log of the inverse, or reciprocal, of the cument frequen() measure.B is incorrebecause TF the senten(not collection) level is multiplieI to calculate TF–I.考点Unstructureta Exploration - Feature Selection - fferent TF measures 如题

    2024-04-26 12:26 1 · 回答

    NO.PZ2021083101000004问题如下 Bector then computes TF–I (term frequency–inverse cument frequency) for severwor in the collection antells Azarov the following: Statement 1 I is equto the inverse of the cument frequenmeasure. Statement 2 TF the collection level is multiplieI to calculate TF–I. Statement 3 TF–I values vary the number of cuments in the taset, antherefore, mol performancvary when applieto a taset with just a few cuments.Whiof Bector’s statements regarng TF, I, anTF–I is correct? A.Statement 1B.Statement 2C.Statement 3 C is correct. Statement 3 is correct. TF–I values vary the number of cuments in the taset, antherefore, the mol performancvary when applieto a taset with just a few cuments.A is incorrebecause I is calculatethe log of the inverse, or reciprocal, of the cument frequen() measure.B is incorrebecause TF the senten(not collection) level is multiplieI to calculate TF–I.考点Unstructureta Exploration - Feature Selection - fferent TF measures C麻烦下 谢谢

    2023-12-27 11:06 1 · 回答