← 返回刚才阅读的位置

知识卡片

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

大小写有用与否需要实测

理解等级:中级

保留大小写可将首字母位置与其他位置部分区分,也可能扩大词表和稀疏性。lowercase=False本身不能证明效果更好;应固定切分、数据与评价协议,比较大小写处理后的独立表现。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      Ah, notice that the column labels (character n-grams) all start with lowercase letters. It looks like the TfidfVectorizer folded the case (lowercased everything). It’s likely that capitalization will help the model, so let’s revectorize the names without lowercasing:

    参考来源

    - 位置:《Natural Language Processing in Action, Second Edition》第05章《神经网络基础》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-5.html) - 结论依据:摘录中关于大小写有用与否需要实测的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:Ah, notice that the column labels (character n-grams) all start with lowercase letters. It looks like the TfidfVectorizer folded the case (lowercased everything). It’s likely that capitalization will help the model, so let’s revectorize the names without lowercasing: