当前位置:网站首页>Eye of depth (II) -- matrix and its basic operations
Eye of depth (II) -- matrix and its basic operations
2022-07-02 17:17:00 【Light chasing rain】
List of articles
- One 、 The basic concept and significance of matrix and common special matrix
- Two 、 Addition, subtraction, multiplication and properties of matrices
- 3、 ... and 、 Matrix multiplication and properties
- Four 、 The application of matrix operation in deep learning ( primary )
- 5、 ... and 、 Trace of matrix , The transpose of the matrix , Symmetric matrix ( Covariance matrix )
One 、 The basic concept and significance of matrix and common special matrix

What is the meaning of matrix , Here is a linear transformation
Distinguish clearly : Zero matrix 、 The difference between identity matrix and diagonal matrix
Two 、 Addition, subtraction, multiplication and properties of matrices

3、 ... and 、 Matrix multiplication and properties

Be careful : Multiplication of matrices , You must ensure that the number of columns in the first row is equal to the number of rows in the second row
Such as : The first matrix A by m×s, The second matrix B Then for s×n, Get the matrix C Of course m×n,C = AB
and cij said A Multiply the rows of the matrix by B The columns of the matrix
a key : The multiplication of matrices does not satisfy the commutative law
Four 、 The application of matrix operation in deep learning ( primary )
4.1 Digital picture recognition ( neural network )

One picture has 0 - 9 One of the numbers , The size is 10×10, amount to 100 A digital
- Unfold into 100 Vector (1 * 100)
- take (1100) Matrix times w1(100512), Programming (1*512) An extended matrix of
- Yes (1*512) after relu Function processing

- take relu After processing (1512) multiply w2(51210) Generate (1*10)[ Because I want to generate 10 Number ]
- after softmax( The back can speak ) Handle , Generate S1…S10 A probability distribution
after w1 and w2 The processing of reflects a transformation of feature space
The above is for a single sample , If there are multiple pictures , Then the matrix is as follows 
5、 ... and 、 Trace of matrix , The transpose of the matrix , Symmetric matrix ( Covariance matrix )
5.1 Trace of matrix

The exchange multiplication of two matrices is not equal , But the trace is the same
prove :
5.2 The transpose of the matrix

aijT=aji
5.3 Symmetric matrix

The characteristic of symmetric matrix is : Its elements are equivalent with the diagonal as the axis of symmetry. Obviously, both the identity matrix and the diagonal matrix are symmetric matrices 
Covariance matrix
Covariance matrix is a symmetric matrix
边栏推荐
- Linux Installation PostgreSQL + Patroni cluster problem
- Interpretation of key parameters in MOSFET device manual
- ThreadLocal
- 【Leetcode】13. Roman numeral to integer
- 【Leetcode】14. Longest Common Prefix
- Connect Porsche and 3PL EDI cases
- 使用知行之桥的API端口,提供资源供合作伙伴访问
- PhD Debate-11 预告 | 回顾与展望神经网络的后门攻击与防御
- 福元医药上交所上市:市值105亿 胡柏藩身价超40亿
- How openharmony starts FA of remote devices
猜你喜欢

【Leetcode】14. 最长公共前缀

Timing / counter of 32 and 51 single chip microcomputer

几行代码搞定RPC服务注册和发现

Easy language ABCD sort

Configure MySQL under Linux to authorize a user to access remotely, which is not restricted by IP

亚马逊云科技 Community Builder 申请窗口开启

Amazon cloud technology community builder application window opens

The poor family once again gave birth to a noble son: Jiangxi poor county got the provincial number one, what did you do right?
![[leetcode] 14. Préfixe public le plus long](/img/70/e5be1a7c2e10776a040bfc8d7711a0.png)
[leetcode] 14. Préfixe public le plus long

Cell: Tsinghua Chenggong group revealed an odor of skin flora. Volatiles promote flavivirus to infect the host and attract mosquitoes
随机推荐
uboot的作用和功能
【Leetcode】14. 最長公共前綴
有赞和腾讯云、阿里云一同摘得“中国企业云科技服务商50强”[通俗易懂]
IP地址转换地址段
Green bamboo biological sprint Hong Kong stocks: loss of more than 500million during the year, tiger medicine and Beijing Yizhuang are shareholders
博客主题 “Text“ 夏日清新特别版
Learning Weekly - total issue 60 - 25th week of 2022
QWebEngineView崩溃及替代方案
Listing of chaozhuo Aviation Technology Co., Ltd.: raising 900million yuan, with a market value of more than 6billion yuan, becoming the first science and technology innovation board enterprise in Xia
Believe in yourself and finish the JVM interview this time
How to quickly distinguish controlled components from uncontrolled components?
配置基于接口的ARP表项限制和端口安全(限制用户私自接入傻瓜交换机或非法主机接入)
Error when uploading code to remote warehouse: remote origin already exists
R and rstudio download and installation tutorial (super detailed)
Cell: Tsinghua Chenggong group revealed an odor of skin flora. Volatiles promote flavivirus to infect the host and attract mosquitoes
Cell:清华程功组揭示皮肤菌群的一种气味挥发物促进黄病毒感染宿主吸引蚊虫...
Leetcode1380: lucky numbers in matrix
Sword finger offer 22 The penultimate node in the linked list
Atcoder beginer contest 169 (B, C, D unique decomposition, e mathematical analysis f (DP))
Geoserver: publishing PostGIS data sources

