当前位置:网站首页>11.递归神经网络RNN
11.递归神经网络RNN
2022-07-07 23:11:00 【booze-J】
RNN(Recurrent Neural Network)
RNN称为循环神经网络或者递归神经网络。在过去几年RNN在语言识别,自然语言处理,翻译以及图像描述等领域有着非常好的应用。
处理图片分类的时候,可以把图片一张一张放入分类器中独立进行判断。但是处理语音以及文字的时候,不能把发音独立,也不能把文字独立,要连起来分析才行。传统的神经网络做不到这一点。
RNN有一个反馈回路,这个反馈回路会把上一个时间的输出信息,作为下一个时间的输入来处理。


The Problem of Long-Term Dependencies:
RNN一个重要的用法就是通过之前的信息来决策当前的问题。
例子1:有一朵云飘在()
例子2:我从小生长在中国。。。我可以说一口流利的()。
越到后面,前面对后面的预测影响就越小。
长短时记忆网络LSTM
LSTM(Long Short Term Memory):

LSTM网络是一种特殊的RNN,只不过有着更复杂的结构,在LSTM网络中使用了上图的block替换了原来隐藏层的神经元。
每一个门的输入都来各种自不同的信号,组成成分复杂。
这个是改进后的LSTM网络的结构,大体上和之前的版本是差不多的,主要是多了一个忘记门。忘记门是直接对细胞体进行操作的,本来输入输出门只是起到对信号流入和流出的控制,加上这个忘记门我们就可以控制细胞体里面的值,从而可以控制我们是要记住这个信号,还是慢慢忘记这个信号


每个门的输入都是相同的,不过他们起到的作用不同,输入门是负责控制输入信号的,输出门负责输出信号的,忘记门是用来决定是否忘记信号的。
总结就一句话,LSTM比常规RNN强,可以达到更好的效果。
边栏推荐
- Four stages of sand table deduction in attack and defense drill
- AI遮天传 ML-初识决策树
- 股票开户免费办理佣金最低的券商,手机上开户安全吗
- They gathered at the 2022 ecug con just for "China's technological power"
- How to learn a new technology (programming language)
- "An excellent programmer is worth five ordinary programmers", and the gap lies in these seven key points
- 1293_FreeRTOS中xTaskResumeAll()接口的实现分析
- 攻防演练中沙盘推演的4个阶段
- STL--String类的常用功能复写
- Deep dive kotlin collaboration (the end of 23): sharedflow and stateflow
猜你喜欢

4.交叉熵

letcode43:字符串相乘

DNS 系列(一):为什么更新了 DNS 记录不生效?

They gathered at the 2022 ecug con just for "China's technological power"

Kubernetes static pod (static POD)

Service mesh introduction, istio overview

Analysis of 8 classic C language pointer written test questions

【GO记录】从零开始GO语言——用GO语言做一个示波器(一)GO语言基础

NVIDIA Jetson测试安装yolox过程记录

The standby database has been delayed. Check that the MRP is wait_ for_ Log, apply after restarting MRP_ Log but wait again later_ for_ log
随机推荐
ABAP ALV LVC template
How to insert highlighted code blocks in WPS and word
Semantic segmentation model base segmentation_ models_ Detailed introduction to pytorch
[Yugong series] go teaching course 006 in July 2022 - automatic derivation of types and input and output
A network composed of three convolution layers completes the image classification task of cifar10 data set
Letcode43: string multiplication
牛客基础语法必刷100题之基本类型
Qt添加资源文件,为QAction添加图标,建立信号槽函数并实现
接口测试要测试什么?
华泰证券官方网站开户安全吗?
《因果性Causality》教程,哥本哈根大学Jonas Peters讲授
取消select的默认样式的向下箭头和设置select默认字样
Jouer sonar
Su embedded training - day4
[Yugong series] go teaching course 006 in July 2022 - automatic derivation of types and input and output
CVE-2022-28346:Django SQL注入漏洞
串口接收一包数据
Is it safe to speculate in stocks on mobile phones?
German prime minister says Ukraine will not receive "NATO style" security guarantee
Leetcode brush questions