知识卡片
数组运算先识别对象
先问目标是逐元素变换、沿轴归约,还是线性代数。sin、exp、sqrt 用于逐元素运算,sum、mean、argmax 可按轴汇总,dot、norm、solve 处理乘积、范数和线性方程。随机模拟时区分分布和随机种子,记录种子便于复现。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Appendix-I List of Standard Python Packages and Their Methods · 查看原书依据
Array Operations ndarray.sum(): Compute the sum of array elements. ndarray.mean(): Compute the mean of array elements. ndarray.max(): Find the maximum value in an array. ndarray.min(): Find the minimum value in
参考来源
- 位置:《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 项目,正文索引第 19 段,锚点 `#table013`)
- 结论依据:附录将数组运算、数学函数、统计、随机和线性代数分别列组。
- 原始内容:Array Operations ndarray.sum(): Compute the sum of array elements. ndarray.mean(): Compute the mean of array elements. ndarray.max(): Find the maximum value in an array. ndarray.min(): Find the minimum value in