当前位置:网站首页>深度之眼(二)——矩阵及其基本运算
深度之眼(二)——矩阵及其基本运算
2022-07-02 14:26:00 【光追雨】
文章目录
一、矩阵的基本概念及意义以及常见的特殊矩阵

矩阵的意义又是什么,下面举一种线性变换
分清楚:零矩阵、单位矩阵和对角矩阵的区别
二、矩阵的加法减法数乘以及性质

三、矩阵的乘法以及性质

注意点:矩阵的相乘,必须保证第一行的列数等于第二行的行数
如:第一个矩阵A为m×s,第二个矩阵B则为s×n,得到矩阵C的则是m×n,C = AB
而cij则表示A矩阵的行乘以B矩阵的列
重点:矩阵的乘法不满足交换律
四、矩阵运算在深度学习中的应用(初级)
4.1 数字图片识别(神经网络)

一张图片有0 - 9其中一个数字,大小为10×10,相当于100个数字
- 展开成100个向量(1 * 100)
- 将(1100)的矩阵乘以w1(100512),编程(1*512)的一个扩展出来的矩阵
- 对(1*512)经过relu函数处理

- 将relu处理过后(1512)乘以w2(51210)生成(1*10)[因为想生成10个数]
- 经过softmax(后面会讲)处理,生成S1…S10的一个概率分布
经过w1和w2的处理体现出一种特征空间的变换
以上是单个样本的,如果有多张图片,则矩阵如下
五、矩阵的迹,矩阵的转置,对称矩阵(协方差矩阵)
5.1 矩阵的迹

两个矩阵的交换后相乘不相等,但是迹是一样的
证明:
5.2 矩阵的转置

aijT=aji
5.3 对称矩阵

对称阵的特点是:它的元素以对角线为对称轴对应相等很显然单位矩阵以及对角矩阵都为对称矩阵
协方差矩阵
协方差矩阵是对称阵
边栏推荐
- Masa framework - DDD design (1)
- DGraph: 大规模动态图数据集
- 寒门再出贵子:江西穷县考出了省状元,做对了什么?
- linux安装postgresql + patroni 集群问题
- john爆破出现Using default input encoding: UTF-8 Loaded 1 password hash (bcrypt [Blowfish 32/64 X3])
- 只是巧合?苹果iOS16的神秘技术竟然与中国企业5年前产品一致!
- Notice on holding a salon for young editors of scientific and Technological Journals -- the abilities and promotion strategies that young editors should have in the new era
- Digital IC hand tearing code -- voting device
- 福元医药上交所上市:市值105亿 胡柏藩身价超40亿
- Privacy computing technology innovation and industry practice seminar: Learning
猜你喜欢

Believe in yourself and finish the JVM interview this time

上传代码到远程仓库报错error: remote origin already exists.

Use the API port of the bridge of knowledge and action to provide resources for partners to access

绿竹生物冲刺港股:年期内亏损超5亿 泰格医药与北京亦庄是股东

Ap和F107数据来源及处理

Weili holdings listed on the Hong Kong Stock Exchange: with a market value of HK $500million, it contributed an IPO to Hubei

Linux Installation PostgreSQL + Patroni cluster problem

TCP congestion control details | 2 background

【征文活动】亲爱的开发者,RT-Thread社区喊你投稿啦
![[error record] the connection of the flutter device shows loading (disconnect | delete the shuttle/bin/cache/lockfile file)](/img/3f/79dcfcd88d779a5d493b4b539bd448.jpg)
[error record] the connection of the flutter device shows loading (disconnect | delete the shuttle/bin/cache/lockfile file)
随机推荐
Cell: Tsinghua Chenggong group revealed an odor of skin flora. Volatiles promote flavivirus to infect the host and attract mosquitoes
数字IC手撕代码--投票表决器
Configure MySQL under Linux to authorize a user to access remotely, which is not restricted by IP
如何与博格华纳BorgWarner通过EDI传输业务数据?
Role and function of uboot
【Leetcode】13. 罗马数字转整数
Exploration of mobile application performance tools
C语言自定义函数的方法
<四> H264解码输出yuv文件
只是巧合?苹果iOS16的神秘技术竟然与中国企业5年前产品一致!
IP地址转换地址段
福元医药上交所上市:市值105亿 胡柏藩身价超40亿
Atcoder beginer contest 169 (B, C, D unique decomposition, e mathematical analysis f (DP))
PhD Debate-11 预告 | 回顾与展望神经网络的后门攻击与防御
LeetCode 2. Add two numbers
DGraph: 大规模动态图数据集
[essay solicitation activity] Dear developer, RT thread community calls you to contribute
L'explosion de John utilise l'encodage d'entrée par défaut: UTF - 8 Loaded 1 password Hash (bcrypt [blowfish 32 / 64 X3])
畅玩集团冲刺港股:年营收2.89亿 刘辉有53.46%投票权
LeetCode 3. Longest substring without duplicate characters

