当前位置:网站首页>深度之眼(二)——矩阵及其基本运算
深度之眼(二)——矩阵及其基本运算
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 对称矩阵

对称阵的特点是:它的元素以对角线为对称轴对应相等很显然单位矩阵以及对角矩阵都为对称矩阵
协方差矩阵
协方差矩阵是对称阵
边栏推荐
- [essay solicitation activity] Dear developer, RT thread community calls you to contribute
- js删除字符串中的子串
- 寒门再出贵子:江西穷县考出了省状元,做对了什么?
- 对接保时捷及3PL EDI案例
- 剑指 Offer 27. 二叉树的镜像
- IP address translation address segment
- What will you do after digital IC Verification?
- LeetCode 1. Sum of two numbers
- 入行数字IC验证后会做些什么?
- 远程办公对我们的各方面影响心得 | 社区征文
猜你喜欢

Lampe respiratoire PWM

Serial port controls steering gear rotation

Linux Installation PostgreSQL + Patroni cluster problem

Easy language ABCD sort

Ap和F107数据来源及处理

Amazon cloud technology community builder application window opens

QWebEngineView崩溃及替代方案

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

Xiaopeng P7 had an accident on rainy days, and the airbag did not pop up. Official response: the impact strength did not meet the ejection requirements

亚马逊云科技 Community Builder 申请窗口开启
随机推荐
【Leetcode】13. 罗马数字转整数
The computer comes with software to make the background color of the picture transparent (matting white background)
相信自己,这次一把搞定JVM面试
pwm呼吸灯
Machine learning perceptron model
Changwan group rushed to Hong Kong stocks: the annual revenue was 289million, and Liu Hui had 53.46% voting rights
Interpretation of key parameters in MOSFET device manual
Domestic relatively good OJ platform [easy to understand]
国内比较好的OJ平台[通俗易懂]
Linux Installation PostgreSQL + Patroni cluster problem
Configure ARP table entry restrictions and port security based on the interface (restrict users' private access to fool switches or illegal host access)
LeetCode 3. Longest substring without duplicate characters
【云原生】简单谈谈海量数据采集组件Flume的理解
A few lines of code to complete RPC service registration and discovery
几行代码搞定RPC服务注册和发现
配置基于接口的ARP表项限制和端口安全(限制用户私自接入傻瓜交换机或非法主机接入)
Deep learning image data automatic annotation [easy to understand]
ThreadLocal
[error record] the connection of the flutter device shows loading (disconnect | delete the shuttle/bin/cache/lockfile file)
Executive engine module of high performance data warehouse practice based on Impala

