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

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

rabbit · 2023年12月27日

老师,C选项麻烦解释下

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

    C选项麻烦解释下 谢谢

    1 个答案

    品职助教_七七 · 2023年12月27日

    嗨,从没放弃的小努力你好:


    C选项意为document的数量不同会影响到TF-IDF的计算结果,当document变的很少的时候,model performance也会发生变化。

    举例来说,document的衡量方式可以是段落、或者是整篇文章、还可以是句子。不同的document方式下,算出来的TF-IDF都会不同,不同的TF-IDF就对应着不同的model performance。这个描述是正确的。

    ----------------------------------------------
    虽然现在很辛苦,但努力过的感觉真的很好,加油!

    • 1

      回答
    • 2

      关注
    • 346

      浏览
    相关问题

    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 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 的计算方式是出现单词的句子次数➗整体文本库中句子的数量,那这样的话,是Sentenlevel吗?

    2024-03-12 14:53 1 · 回答