当前位置:网站首页>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
边栏推荐
- 人生的开始
- AP and F107 data sources and processing
- Geoserver: publishing PostGIS data sources
- john爆破出現Using default input encoding: UTF-8 Loaded 1 password hash (bcrypt [Blowfish 32/64 X3])
- Learning Weekly - total issue 60 - 25th week of 2022
- What is the difference between JSP and servlet?
- 博客主题 “Text“ 夏日清新特别版
- Sword finger offer 26 Substructure of tree
- 电脑自带软件使图片底色变为透明(抠图白底)
- Sword finger offer 22 The penultimate node in the linked list
猜你喜欢

Timing / counter of 32 and 51 single chip microcomputer

七张图,学会做有价值的经营分析

2020 "Lenovo Cup" National College programming online Invitational Competition and the third Shanghai University of technology programming competition (a sign in, B sign in, C sign in, D thinking +mst

Tech Talk 活动预告 | 基于Amazon KVS打造智能视觉产品

Blog theme "text" summer fresh Special Edition

【Leetcode】13. Roman numeral to integer

ThreadLocal

Ap和F107数据来源及处理

配置基于接口的ARP表项限制和端口安全(限制用户私自接入傻瓜交换机或非法主机接入)
![L'explosion de John utilise l'encodage d'entrée par défaut: UTF - 8 Loaded 1 password Hash (bcrypt [blowfish 32 / 64 X3])](/img/4c/ddf7f8085257d0eb8766dbec251345.png)
L'explosion de John utilise l'encodage d'entrée par défaut: UTF - 8 Loaded 1 password Hash (bcrypt [blowfish 32 / 64 X3])
随机推荐
Believe in yourself and finish the JVM interview this time
Interpretation of key parameters in MOSFET device manual
IP地址转换地址段
Learning Weekly - total issue 60 - 25th week of 2022
Soul, a social meta universe platform, rushed to Hong Kong stocks: Tencent is a shareholder with an annual revenue of 1.28 billion
Use the API port of the bridge of knowledge and action to provide resources for partners to access
Youzan won the "top 50 Chinese enterprise cloud technology service providers" together with Tencent cloud and Alibaba cloud [easy to understand]
One year is worth ten years
超卓航科上市:募资9亿市值超60亿 成襄阳首家科创板企业
2322. Remove the minimum fraction of edges from the tree (XOR and & Simulation)
2020 "Lenovo Cup" National College programming online Invitational Competition and the third Shanghai University of technology programming competition (a sign in, B sign in, C sign in, D thinking +mst
Detailed explanation of @accessories annotation of Lombok plug-in
你想要的宏基因组-微生物组知识全在这(2022.7)
一年頂十年
Sword finger offer 27 Image of binary tree
How to transfer business data with BorgWarner through EDI?
Leetcode1380: lucky numbers in matrix
使用知行之桥的API端口,提供资源供合作伙伴访问
DGraph: 大规模动态图数据集
Usage of sprintf() function in C language

