← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 6666.h · 生成模型:GPT-6

词频加权有多种独立约定

理解等级:中级

TF可用原次数、相对次数或1+log(count)等变体,IDF也有平滑约定,最后还可对文档向量归一化。应把这几步分别说明;TF–IDF只是加权特征,不是唯一公式,更不能把每个权重叫词语意义百分比。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      And then, finally, for a given term, t, in a given document, d, in a corpus, D, you get the following expression for term frequency: Equation 3.5 Next you want to calculate inverse document frequency, which tells you how important the token is or how much information it adds to a documents where it is used. The most common way to estimate the information value

    参考来源

    - 位置:《Natural Language Processing in Action, Second Edition》第03章《词频与逆文档频率向量》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-3.html) - 结论依据:摘录中关于词频加权有多种独立约定的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:And then, finally, for a given term, t, in a given document, d, in a corpus, D, you get the following expression for term frequency: Equation 3.5 Next you want to calculate inverse document frequency, which tells you how important the token is or how much information it adds to a documents where it is used. The most common way to estimate the information value