知识卡片
串联变换与并联特征
Pipeline 将前一步输出交给后一步,可把预处理及估计器封装为同一训练对象。FeatureUnion 将同一输入分别交给多条转换路径,再把输出拼成特征。要在交叉验证中使每折独立拟合,需要让会学习参数的预处理和模型一起进入评估对象。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Appendix-I List of Standard Python Packages and Their Methods · 查看原书依据
Pipeline Pipeline: Chain multiple estimators into one. FeatureUnion: Concatenate results of multiple transformer objects. Package name: seaborn Data Visualization Functions sns.scatterplot: Scatter plot. sns.lineplot: Line plot. sns.barplot: Bar plot. sns.countplot:
参考来源
- 位置:《Simplified Machine Learning: The Essential Building Blocks for Machine Learning Expertise》《Appendix-I List of Standard Python Packages and Their Methods》(`extracted/Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise/_epub-src/OPS/app1.xhtml`,book-source 项目,正文索引第 153 段,锚点 `#table013`)
- 结论依据:附录相邻定义 Pipeline 与 FeatureUnion,分别解释串联估计器和拼接转换结果。
- 原始内容:Pipeline Pipeline: Chain multiple estimators into one. FeatureUnion: Concatenate results of multiple transformer objects. Package name: seaborn Data Visualization Functions sns.scatterplot: Scatter plot. sns.lineplot: Line plot. sns.barplot: Bar plot. sns.countplot: