当前位置:网站首页>Eye of depth (VI) -- inverse of matrix (attachment: some ideas of logistic model)

Eye of depth (VI) -- inverse of matrix (attachment: some ideas of logistic model)

2022-07-07 15:55:00 Light chasing rain

One 、 The introduction of matrix inverse and the definition of matrix inverse (*)

 Insert picture description here

A* Is the adjoint matrix , among Aij by aij The algebraic covalent of

 Insert picture description here

 Insert picture description here
Different from definition 7 AB = BA = E, Make conditions popularize

Two 、 Calculation of matrix inverse

Block matrix ( Easy to calculate )
 Insert picture description here

3、 ... and 、 Common properties of matrix inverse , And the inverse of a special matrix

3.1 nature

|AB| = |A||B|
(AB)-1=B-1A-1
(AB)T=BTAT
 Insert picture description here

3.2 The inverse of a special matrix

 Insert picture description here

Four 、 Application of matrix inverse in machine learning linear regression algorithm ( primary )

N It's the number of samples ,a1……an It's the parameter to be estimated

 Insert picture description here
When bloggers see here , Suddenly I remembered that I once had a number of analog problems , Yes logistic Model , There was beta 1 To beta n The solution of , Bloggers didn't know how to solve , Now I understand , You should learn how to move on line
The model is introduced as follows :
 Insert picture description here
tearful , use matlab, Xiandai must study hard !!!, The lesson of tears

5、 ... and 、 Block matrix

Transpose of block matrix , The whole is to transpose , Every small block should be transposed ( These two points should be kept in mind )

5.1 Addition, subtraction and multiplication

 Insert picture description here

5.2 Transpose operation and inverse operation

 Insert picture description here

5.3 example

 Insert picture description here

5.4 Calculation of covariance matrix

 Insert picture description here

原网站

版权声明
本文为[Light chasing rain]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071332132973.html