当前位置:网站首页>Convolutional neural network (Introduction)
Convolutional neural network (Introduction)
2022-07-02 14:18:00 【-Small transparency-】
One 、 A brief introduction of convolutional neural network
adopt Input layer Input , Then according to several Convolution layer Just repeat the following steps several times , Last Output layer Output .
A basic process in convolution calculation is : Convolution -->ReLU( Modified linear element )--> Pooling ( Down sampling )
Then proceed Full connection , Calculate the probability according to the weight , Judge .
Two 、“ Detailed explanation ”
1. Convolution calculation
Split the image into corresponding feature points , go by the name of Convolution kernel .
Then check whether the recognized image has a corresponding convolution kernel to confirm whether it is the target object .
The target image passes Convolution kernel A two-dimensional figure obtained is Characteristics of figure .
2. Activation function
frequently-used :Relu:if x<0: y=0 else y=x
Convert all the negative eigenvalues calculated by convolution into 0, Will not change the characteristics .
3. Pooling
There are a lot of details about one ( It's a feature ), Or a considerable number of hierarchical details , The complexity of the algorithm is very high .
So there is Pooling ( layer )(pooling). Pooling is to reduce the characteristic matrix , namely Zoom out feature map (Feature Map)
Two pooling methods :
1. Maximum pooling : Select the maximum value in the scanned area as Feature Map A characteristic value of
2. The average pooling : Take the average value in the scanned area as Feature Map A characteristic value of
stay Dealing with edges The operation of is called (Padding)
If you use maximum pooling for images , be Fill zero on the edge To extract edge features
Pooling requires that the features of the original feature map must be retained
4. Full link
Operate the array according to the array weight of the target graph to obtain a probability number to judge whether it is the target . Using a large amount of data training for machine learning to correct the convolution kernel and full link behavior . Then use back propagation (backpropagation) The algorithm is constantly modified to deal with the full connection of feature arrays , Finally, we get more and more accurate network .
The convolution kernel and full connection at the beginning are random , Artificially designated , As long as enough data and feedback are fed to the network , Finally, we can get a better algorithm network .
Common English explanations in Convolutional Neural Networks
Filtering: The math behind the match Filter : The math behind comparison
1. Line up the feature and the image patch. Feature and image complement alignment .
2. Multiply each image pixel by the corresponding feature pixel. Multiply each image pixel by the corresponding feature pixel .
3. Add them up. Add up
4. Divide by the total number of pixels in the feature. Divide by the total number of pixels in the feature ( Here refers to the number of pixels in the fragment ).---> Get the final pixel value
Pooling: Shrinking the image stack: Pooling : Shrink the image stack
1. Pick a window size (usually 2 or 3). Choose one 2X2 Of window
2.Pick a stride (usually 2) Move the window one step to the right 2
3.Walk your window across your filtered images. Slide window to filter pictures
4. From each window, take the maximum value. Record the maximum value in turn
After this step , We get a similar , But the smaller picture . It can still be seen that the characteristics of the maximum composition are .
The above is the summary after watching the video .
Push video ( Too cattle !): Explain the working principle of convolutional neural network in vernacular _ Bili, Bili _bilibili
边栏推荐
- Story points vs. human days
- Analysis of CPU surge in production environment service
- kaggle如何使用utility script
- 693. Travel sequencing (map + topology)
- < schéma de développement de la machine d'exercice oral > machine d'exercice oral / trésor d'exercice oral / trésor de mathématiques pour enfants / lecteur LCD de calculatrice pour enfants IC - vk1621
- Who is better, Qianyuan projection Xiaoming Q1 pro or Jimi new play? Which configuration is higher than haqu K1?
- In 2021, the global revenue of structural bolts was about $796.4 million, and it is expected to reach $1097.6 million in 2028
- 千元投影小明Q1 Pro和极米NEW Play谁更好?和哈趣K1比哪款配置更高?
- Solving the longest subsequence with linear DP -- three questions
- MySQL 45 lecture - learning from the actual battle of geek time MySQL 45 Lecture Notes - 04 | easy to understand index (Part 1)
猜你喜欢
The conference on the growth of all things was held in Hangzhou, and dangbei was selected into the top 100 list of future unicorns in China in 2022
<口算练习机 方案开发原理图>口算练习机/口算宝/儿童数学宝/儿童计算器 LCD液晶显示驱动IC-VK1621B,提供技术支持
Getting started with QT - making a simple calculator
TeamTalk源码分析之win-client
Launcher启动过程
The most complete analysis of Flink frame window function
千元投影小明Q1 Pro和极米NEW Play谁更好?和哈趣K1比哪款配置更高?
关于Flink框架窗口(window)函数最全解析
selenium 在pycharm中安装selenium
自定义事件,全局事件总线,消息订阅与发布,$nextTick
随机推荐
freemarker的使用
MySQL45讲——学习极客时间MySQL实战45讲笔记—— 04 | 深入浅出索引(上)
Chaos engineering platform chaosblade box new heavy release
Just 1000 fans, record it
Launcher startup process
Daily learning 2
<口算練習機 方案開發原理圖>口算練習機/口算寶/兒童數學寶/兒童計算器 LCD液晶顯示驅動IC-VK1621B,提供技術支持
Qt入门-制作一个简易的计算器
每日学习3
P3008 [USACO11JAN]Roads and Planes G (SPFA + SLF优化)
Qt原代码基本知识
故事点 vs. 人天
QT new project_ MyNotepad++
Qt如何设置固定大小
How to set QT manual layout
千元投影小明Q1 Pro和极米NEW Play谁更好?和哈趣K1比哪款配置更高?
Selenium element positioning method
每日学习2
Custom events, global event bus, message subscription and publishing, $nexttick
Whole house Wi Fi: a pain point that no one can solve?