没有合适的资源?快使用搜索试试~ 我知道了~
首页Basics of Linear Algebra for Machine Learning Discover the Mathematical 无水印原版pdf
Basics of Linear Algebra for Machine Learning Discover the Mathematical Language of Data in Python 英文无水印原版pdf pdf所有页面使用FoxitReader、PDF-XChangeViewer、SumatraPDF和Firefox测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书
资源详情
资源评论
资源推荐
Basics of Linear Algebra for
Machine Learning
Discover the Mathematical
Language of Data in Python
Jason Brownlee
i
Disclaimer
The information contained within this eBook is strictly for educational purposes. If you wish to apply
ideas contained in this eBook, you are taking full responsibility for your actions.
The author has made every effort to ensure the accuracy of the information within this book was
correct at time of publication. The author does not assume and hereby disclaims any liability to any
party for any loss, damage, or disruption caused by errors or omissions, whether such errors or
omissions result from accident, negligence, or any other cause.
No part of this eBook may be reproduced or transmitted in any form or by any means, electronic or
mechanical, recording or by any information storage and retrieval system, without written permission
from the author.
Acknowledgements
Special thanks to my copy editor Sarah Martin and my technical editors Arun Koshy and Andrei
Cheremskoy.
Copyright
Basics of Linear Algebra for Machine Learning
©
Copyright 2018 Jason Brownlee. All Rights Reserved.
Edition: v1.1
Contents
Copyright i
Contents ii
Preface iii
I Introduction v
Welcome vi
Who Is This Book For? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi
About Your Outcomes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi
How to Read This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
About the Book Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
About Python Code Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
About Further Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
About Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
II Foundations 1
1 Introduction to Linear Algebra 2
1.1 Tutorial Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Linear Algebra . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Numerical Linear Algebra . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.4 Linear Algebra and Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.5 Applications of Linear Algebra . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.6 Further Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Linear Algebra and Machine Learning 7
2.1 Reasons to NOT Learn Linear Algebra . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Learn Linear Algebra Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Learn Linear Algebra Arithmetic . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4 Learn Linear Algebra for Statistics . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.5 Learn Matrix Factorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
ii
CONTENTS iii
2.6 Learn Linear Least Squares . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.7 One More Reason . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.8 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Examples of Linear Algebra in Machine Learning 11
3.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.2 Dataset and Data Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.3 Images and Photographs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.4 One Hot Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5 Linear Regression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.6 Regularization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.7 Principal Component Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.8 Singular-Value Decomposition . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.9 Latent Semantic Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.10 Recommender Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.11 Deep Learning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.12 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
III NumPy 16
4 Introduction to NumPy Arrays 17
4.1 Tutorial Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.2 NumPy N-dimensional Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.3 Functions to Create Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.4 Combining Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.5 Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.6 Further Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5 Index, Slice and Reshape NumPy Arrays 23
5.1 Tutorial Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.2 From List to Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.3 Array Indexing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5.4 Array Slicing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.5 Array Reshaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
5.6 Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.7 Further Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.8 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
6 NumPy Array Broadcasting 35
6.1 Tutorial Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
6.2 Limitation with Array Arithmetic . . . . . . . . . . . . . . . . . . . . . . . . . . 35
6.3 Array Broadcasting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.4 Broadcasting in NumPy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.5 Limitations of Broadcasting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.6 Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
CONTENTS iv
6.7 Further Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.8 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
IV Matrices 43
7 Vectors and Vector Arithmetic 44
7.1 Tutorial Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
7.2 What is a Vector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
7.3 Defining a Vector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
7.4 Vector Arithmetic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
7.5 Vector Dot Product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7.6 Vector-Scalar Multiplication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.7 Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
7.8 Further Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
7.9 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
8 Vector Norms 53
8.1 Tutorial Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
8.2 Vector Norm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
8.3 Vector L
1
Norm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.4 Vector L
2
Norm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
8.5 Vector Max Norm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
8.6 Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
8.7 Further Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
8.8 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
9 Matrices and Matrix Arithmetic 58
9.1 Tutorial Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
9.2 What is a Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
9.3 Defining a Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.4 Matrix Arithmetic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.5 Matrix-Matrix Multiplication . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
9.6 Matrix-Vector Multiplication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
9.7 Matrix-Scalar Multiplication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
9.8 Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
9.9 Further Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
9.10 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
10 Types of Matrices 71
10.1 Tutorial Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
10.2 Square Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
10.3 Symmetric Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
10.4 Triangular Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
10.5 Diagonal Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
10.6 Identity Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
10.7 Orthogonal Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
剩余211页未读,继续阅读
yinkaisheng-nj
- 粉丝: 763
- 资源: 6953
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0