How does TF–IDF downweight boilerplate?

TF–IDF combines within-document counts with inverse document frequency, reducing the relative prominence of ubiquitous terms.

TfidfTransformer in practice

“Hello” appears in almost every support ticket, whereas “paper jam” concentrates in printer cases. Weights learned on one site can age as its vocabulary shifts.

中文

TF–IDF 如何降低套话的权重?

TF–IDF 结合文档内词频与跨文档的逆文档频率,让到处出现的词相对不突出。

TfidfTransformer 应用实例

工单里几乎都有“您好”,只有打印故障反复出现“卡纸”。新站点若词频分布变化,旧语料学到的权重也会过时。

References / 参考来源

Keep reading / 继续阅读