当前位置:网站首页>卷积神经网络的兴趣简单介绍
卷积神经网络的兴趣简单介绍
2022-07-25 09:19:00 【泡泡怡】
卷积神经网络对于我来说是一个神奇、很高深的词汇。现在让我们揭开它神秘的面纱。“卷积”想必大家都比较熟悉,在概率论中就学习到而卷积神经网络就是数学的卷积在图像像素矩阵上的运算。可见数学的魅力!
一、卷积的理解
卷积是两个变量在某范围内相乘后求和的结果;
离散情况下是数列相乘再求和;
连续情况下是函数相乘再积分;
卷积是两个函数的运算方式,满足条件(交换律,分配律,结合律,数乘结合律,平移特性,微分特性,积分特性等)的算子。简言之:在原始输入上一个小区域一个小区域进行特征的提取,稍后细致讲解卷积的计算过程。
二、卷积神经网络(convolutional neural network,CNN)是⼀类强大的神经网络,正是为处理图像数据而设计的。基于卷积神经⽹络结构的模型在计算机视觉领域中已经占主导地位。
1、性质
(1).平移不变性:不管出现在图像中的哪个位置,神经⽹络的底层应该对相同的图像区域做出类似的响应。 这个原理即为“平移不变性”。
(2) 局部性:神经⽹络的底层应该只探索输⼊图像中的局部区域,而不考虑图像远处区域的内容,这就是 “局部性”原则。
三、对比卷积神经网络和全连接神经网络

左图:全连接神经网络(平面): 输入层,激活函数,全连接层。
右图:卷积神经网络(立体):输入层,卷积层,激活函数,池化层,全连接层。
四、互相关运算
假设输⼊形状为 nh × nw,卷积核形状为 kh × kw,那么输出形状 将是 (nh − kh + 1) × (nw − kw + 1)。

详细计算过程:
×
+ ![]()
=
对应元素相乘再加上偏置b就可以得到。后续滑动2循环此步骤进行计算.
为什么滑动两个格子?
滑动的格子(stride)越小,提取特征越多。一般不取1,要考虑时间效率。
五、池化层(对图像特征进行压缩,个人理解(降维的感觉))
池运算符是确定性的,我们通常计算池化窗口中所有元素 的最大值或平均值。这些操作分别称为 最⼤池化层(maximum pooling)和 平均池化层(average pooling)。

边栏推荐
- ActiveMQ -- AMQ of persistent mechanism
- 有误差的字符串型时间比较方法String.compareTo
- uni-app - Refused to display ‘xxx‘ in a frame because an ancestor violates the following Content Sec
- C#语言和SQL Server数据库技术
- Network principle (2) -- network development
- Ctfhub skill tree Web
- 『每日一问』ReentrantLock加锁解锁
- 无法再web服务器上启动调试,web服务器未能找到请求资源
- 微信小程序中的列点击隐藏,再点击显示
- 一文搞懂try、catch、finally(包含return)执行流程(全网最详细解析)
猜你喜欢

Ctfhub skill tree Web

Silicon Valley classroom lesson 15 - Tencent cloud deployment

Silicon Valley class lesson 11 - official account news and wechat authorization

神经网络学习(1)前言介绍

How can technologists start their personal brand? Exclusive teaching of top five KOLs

OpenCV实现简单的人脸追踪

Query efficiency increased by 10 times! Three optimization schemes to help you solve the deep paging problem of MySQL
![[C language] dynamic memory management, flexible array](/img/da/b9455885df0cb6646908e3655d62c5.png)
[C language] dynamic memory management, flexible array

How to write the code of wechat applet implementation tab

Troubleshooting error: NPM install emojis list failed
随机推荐
Shell script
Guangzhou has carried out in-depth "100 day action" to check the safety of self built commercial houses, and more than 2 million houses have been checked in two months
神经网络学习(1)前言介绍
[buuctf-n1book][Chapter 2 advanced web]ssrf training
Comments on specific applications of camera
『怎么用』观察者模式
Do you know these methods of MySQL database optimization?
Druid 查询超时配置的探究 → DataSource 和 JdbcTemplate 的 queryTimeout 到底谁生效?
C#语言和SQL Server数据库技术
Redis数据库基础
[stl]stack & queue simulation implementation
Redis sentry, master-slave deployment details
Jspdf generates PDF files. There is a problem of incomplete files. Files are downloaded in the background, but not in the foreground
C#语言和SQL Server数据库技术
API健康状态自检
jsPDF生成PDF文件,文件不全问题,后台进行文件下载,前台不下载
ActiveMQ -- JDBC with persistent mechanism
MySQL takes the query result as the data updated by update, and concatenates it after the original field data (Lej)
深入理解static关键字
Learning Weekly - total issue 63 - an open source local code snippet management tool