Coursera机器学习笔记 第1周 第三章 线性代数回顾

第三章 线性代数回顾(Linear Algebra Review)

第1节 线性代数回顾(Linear Algebra Review)

3.1 矩阵和向量

参考视频:3 - 1 - Matrices and Vectors (9 min).mkv

1.这是一个 4×2 4 × 2 矩阵:

A=1402137194914719182114371448 A = [ 1402 191 1371 821 949 1437 147 1448 ]

其中 Aij A i j 指第i行,第j列的元素。

2.向量是一种特殊的矩阵,讲义中的向量一般都是列向量,如:

A=14021371949147 A = [ 1402 1371 949 147 ]
为四维列向量( 4×1 4 × 1 )。

3.0索引向量和1索引向量

y0=y0y1y2y3y1=y1y2y3y4 y 0 = [ y 0 y 1 y 2 y 3 ] y 1 = [ y 1 y 2 y 3 y 4 ]

左边向量中元素下标从1开始,称作0索引向量;右边向量中元素下标从0开始,称作1索引向量。

3.2 向量加法和标量乘法

参考视频: 3 - 2 - Addition and Scalar Multiplication (7 min).mkv

矩阵加法:行列数相等的可以加。

123551+420241=543792 [ 1 5 2 5 3 1 ] + [ 4 2 2 4 0 1 ] = [ 5 7 4 9 3 2 ]

矩阵的标量乘法:每个元素都乘。
3×123551=36915153 3 × [ 1 5 2 5 3 1 ] = [ 3 15 6 15 9 3 ]

组合算法也类似。

3.3 矩阵向量乘法

参考视频:3 - 3 - Matrix Vector Multiplication (14 min).mkv

矩阵向量乘法

3.4 矩阵乘法

参考视频:3 - 4 - Matrix Matrix Multiplication (11 min).mkv

矩阵乘法

3.5 矩阵乘法的性质

参考视频:3 - 5 - Matrix Multiplication Properties (9 min).mkv

这里写图片描述

3.6 矩阵的逆、转置

参考视频:3 - 6 - Inverse and Transpose (11 min).mkv

这里写图片描述

截图粘贴了一下,这周就结束了!

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Preface I wrote this book to help machine learning practitioners, like you, get on top of linear algebra, fast. Linear Algebra Is Important in Machine Learning There is no doubt that linear algebra is important in machine learning. Linear algebra is the mathematics of data. It’s all vectors and matrices of numbers. Modern statistics is described using the notation of linear algebra and modern statistical methods harness the tools of linear algebra. Modern machine learning methods are described the same way, using the notations and tools drawn directly from linear algebra. Even some classical methods used in the field, such as linear regression via linear least squares and singular-value decomposition, are linear algebra methods, and other methods, such as principal component analysis, were born from the marriage of linear algebra and statistics. To read and understand machine learning, you must be able to read and understand linear algebra. Practitioners Study Linear Algebra Too Early If you ask how to get started in machine learning, you will very likely be told to start with linear algebra. We know that knowledge of linear algebra is critically important, but it does not have to be the place to start. Learning linear algebra first, then calculus, probability, statistics, and eventually machine learning theory is a long and slow bottom-up path. A better fit for developers is to start with systematic procedures that get results, and work back to the deeper understanding of theory, using working results as a context. I call this the top-down or results-first approach to machine learning, and linear algebra is not the first step, but perhaps the second or third. Practitioners Study Too Much Linear Algebra When practitioners do circle back to study linear algebra, they learn far more of the field than is required for or relevant to machine learning. Linear algebra is a large field of study that has tendrils into engineering, physics and quantum physics. There are also theorems and derivations for nearly everything, most of which will not help you get better skill from or a deeper understanding of your machine learning model. Only a specific subset of linear algebra is required, though you can always go deeper once you have the basics.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值