← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 10929.a.3 · 生成模型:GPT-6(Codex)

类别失衡如何重采样

理解等级:中级

类别严重不均衡时,模型可能学会优先预测多数类。可增加少数类样本、减少多数类样本,或从训练样本生成少数类的合成观测。少数类重复会放大个别样本,多数类欠采样可能丢失信息。重采样限在训练数据或训练折内,验证和测试保留目标场景中的类别比例。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Data Pre-processing · 查看原书依据

      Addressing class imbalances in classification problems where one class significantly outnumbers the others. Techniques include oversampling the minority class, undersampling the majority class, or using synthetic data generation methods.

    参考来源

    - 位置:《Simplified Machine Learning: The Essential Building Blocks for Machine Learning Expertise》第 02 章《Data Pre-processing》(`extracted/Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise/_epub-src/OPS/ch02.xhtml`,book-source 项目,正文索引第 100 段) - 结论依据:预处理列表明确给出类别失衡的触发条件和过采样、欠采样、合成数据三种手段。 - 原始内容:Addressing class imbalances in classification problems where one class significantly outnumbers the others. Techniques include oversampling the minority class, undersampling the majority class, or using synthetic data generation methods.