Machine Learning_Ng 第3讲 线性代数回顾

在第三讲中,主要回顾了线代代数(Linear Algebra)中的矩阵和向量的概念、矩阵的基本运算如加法、标量乘法、向量乘法、逆矩阵、矩阵转置等。

# 矩阵和向量(Matrices and Vectors)


imageimage

 

# 矩阵的加法和标量乘法 (Addiction and Scalar Multiplication)


imageimage

 

# 矩阵×矩阵(Matrices Matrices Multiplication)


imageimage

imageimage

 

# 矩阵乘法的性质(Matrices Multiplication Properties)


imageimage

即矩阵乘法不满足交换律,但满足结合律。此外,单位矩阵I乘以任意矩阵A,结果仍为A

image

 

# 逆矩阵与矩阵转置 (Matrices Inverse and Matrices Transpose)


 

imageimage

在Matlab中,直接加’即可实现矩阵转置。如:B=A’

image

 

 注:码字不易,若您转载,请务必注明出处:https://www.cnblogs.com/jngwl/

posted @ 2018-12-14 21:15  清风与归_G  阅读(232)  评论(0)    收藏  举报