知识卡片
单变量打分选择前K列
SelectKBest 逐列根据评分函数排序,保留得分最高的 K 列。对分类可选卡方、互信息或 ANOVA F 统计量。卡方要求非负输入,互信息可度量一般依赖,F 统计量关注类间差异相对于类内波动。逐列评分成本较低,但可能错过组合信号;[[RFE逐轮重训后删特征]]则在剩余特征集上反复训练。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Dimensionality Reduction and Feature Selection · 查看原书依据
SelectKBest is a feature selection method that selects the top K features based on a given scoring function. Common scoring functions include chi-squared, mutual information, and ANOVA F-statistic as shown in the following Code 6.3:
参考来源
- 位置:《Simplified Machine Learning: The Essential Building Blocks for Machine Learning Expertise》第 06 章《Dimensionality Reduction and Feature Selection》(`extracted/Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise/_epub-src/OPS/ch06.xhtml`,book-source 项目,正文索引第 93 段)
- 结论依据:原文明确由评分函数决定前 K 列,紧接的代码轮流使用卡方、互信息和 ANOVA F。
- 原始内容:SelectKBest is a feature selection method that selects the top K features based on a given scoring function. Common scoring functions include chi-squared, mutual information, and ANOVA F-statistic as shown in the following Code 6.3: