回归的矩阵表达形式
回归的矩阵表达形式
The matrix expression of the regression
- 1.公式
- 2.矩阵运算的复习
- 加减法:对应行列坐标的值加减
- 乘法:假设有维数有n × m 的矩阵X,以及维度为l × k的矩阵Y,则
- (1)当 m = l 时,矩阵X乘以矩阵Y才是可行的,结果矩阵XY才存在;
- (2)当 k = n 时,矩阵Y乘以矩阵X才是可行的,结果矩阵YX才存在。
- 公式:
- 转置:对应的行列互换。
- 1.Formulas
- 2.Review of matrix operations
- Addition and subtraction:Add or subtract the values of the corresponding row and column coordinates
- Subtraction:Suppose that there are matrices X with dimensions n × m, and matrices Y with dimensions l × k, then
- (1)Only when m = l is it feasible to multiply matrix X by matrix Y, and the resultant matrix XY exists;
- (2)Only when k = n is it feasible to multiply matrix Y by matrix X, and the resultant matrix YX exists.
- Formulas:
- Matrix transposition:Interchange of corresponding rows and columns.
回归的矩阵表达形式.txt · 最后更改: 2024/04/14 03:41 由 zwz