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

对称阵的特点是:它的元素以对角线为对称轴对应相等很显然单位矩阵以及对角矩阵都为对称矩阵
协方差矩阵
协方差矩阵是对称阵
边栏推荐
- Just a coincidence? The mysterious technology of apple ios16 is even consistent with the products of Chinese enterprises five years ago!
- GeoServer:发布PostGIS数据源
- Believe in yourself and finish the JVM interview this time
- PWM控制舵机
- Exploration of mobile application performance tools
- 上传代码到远程仓库报错error: remote origin already exists.
- Day 18 of leetcode dynamic planning introduction
- Use of openpose
- 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
- Role and function of uboot
猜你喜欢

Soul, a social meta universe platform, rushed to Hong Kong stocks: Tencent is a shareholder with an annual revenue of 1.28 billion

In MySQL and Oracle, the boundary and range of between and precautions when querying the date

Serial port controls steering gear rotation

剑指 Offer 26. 树的子结构

使用知行之桥的API端口,提供资源供合作伙伴访问

只是巧合?苹果iOS16的神秘技术竟然与中国企业5年前产品一致!

超卓航科上市:募资9亿市值超60亿 成襄阳首家科创板企业

Leetcode1380: lucky numbers in matrix

配置基于接口的ARP表项限制和端口安全(限制用户私自接入傻瓜交换机或非法主机接入)

GeoServer:发布PostGIS数据源
随机推荐
Geoserver: publishing PostGIS data sources
Understand one article: four types of data index system
Tech Talk 活动预告 | 基于Amazon KVS打造智能视觉产品
基于Impala的高性能数仓实践之执行引擎模块
Résumé de l'entrevue de Dachang Daquan
七张图,学会做有价值的经营分析
What is generics- Introduction to generics
关于举办科技期刊青年编辑沙龙——新时代青年编辑应具备的能力及提升策略的通知...
Analysis of how to prevent virus in industrial computer
[essay solicitation activity] Dear developer, RT thread community calls you to contribute
Linux Installation PostgreSQL + Patroni cluster problem
pwm呼吸燈
Rock PI Development Notes (II): start with rock PI 4B plus (based on Ruixing micro rk3399) board and make system operation
DGraph: 大规模动态图数据集
寒门再出贵子:江西穷县考出了省状元,做对了什么?
你想要的宏基因组-微生物组知识全在这(2022.7)
Configure ARP table entry restrictions and port security based on the interface (restrict users' private access to fool switches or illegal host access)
lsf基础命令
国内比较好的OJ平台[通俗易懂]
VMware install win10 image

