知识卡片
按变量关系选择统计图
两数值列关系用散点,单变量分布用直方图或密度估计,类别间数值分布用箱线图或小提琴图。成对关系较多时用 pairplot,相关矩阵可用 heatmap。将轴范围和样本粒度写在图旁,避免仅凭图形推断因果。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Appendix-I List of Standard Python Packages and Their Methods · 查看原书依据
Data Visualization Functions sns.scatterplot: Scatter plot. sns.lineplot: Line plot. sns.barplot: Bar plot. sns.countplot: Count plot. sns.boxplot: Box plot. sns.violinplot: Violin plot. sns.heatmap: Heatmap. sns.pairplot: Pair plot. sns.jointplot: Joint plot. sns.regplot:
参考来源
- 位置:《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 项目,正文索引第 157 段,锚点 `#table013`)
- 结论依据:附录对 seaborn 按图形任务分类,列出分类、分布、矩阵及成对关系函数。
- 原始内容:Data Visualization Functions sns.scatterplot: Scatter plot. sns.lineplot: Line plot. sns.barplot: Bar plot. sns.countplot: Count plot. sns.boxplot: Box plot. sns.violinplot: Violin plot. sns.heatmap: Heatmap. sns.pairplot: Pair plot. sns.jointplot: Joint plot. sns.regplot: