当前位置:网站首页>RNN recurrent neural network
RNN recurrent neural network
2022-07-26 06:16:00 【Li Junfeng】
Timing data
Give a more strict definition : Time series data are data columns recorded in time sequence by the same unified index . Data in the same column must be of the same caliber , It requires comparability . Time series data can be periods , You can also count time . The purpose of time series analysis is to find out the statistical characteristics and development regularity of time series in samples , Building time series models , Make out of sample prediction .
Generally speaking , Time series data is the data with sequential relationship :
- Specific time point ( moment ) Not important ;
- Focus only on its successively Relationship
Historical information
How to record historical information is a key problem of time series data .
Remember that all States from the beginning to the present are impossible .
Hidden Markov hypothesis
Simply speaking , The current status is related to the previous status , It has nothing to do with the previous state . That is, the previous state can perfectly record all the previous information .
generally speaking , This assumption is not tenable , The first few or dozens of states of the current state are often used to represent all the previous information . Through this assumption , You can greatly reduce the number of states you need to remember .
Introduce the state function
Another way to reduce what needs to be recorded .
Suppose the last state function is H t − 1 H_{t-1} Ht−1, The current input is X t X_t Xt.
that H t = f ( H t − 1 , X t ) H_t=f(H_{t-1},X_t) Ht=f(Ht−1,Xt).
It's not hard to see. , H t H_t Ht In fact, it is constantly X t X_t Xt Accumulate , In a sense , It records all the previous information .
- This is exactly RNN The basic idea of .
RNN neural network
There are two inputs X t , H t − 1 X_t,H_{t-1} Xt,Ht−1 It means that the current time is data and historical information .
There are two outputs Y t , H t Y_t,H_t Yt,Ht It respectively represents the output of the current time and the historical information containing the current time information .
Training
Here we need to use the idea of hidden Markov .
A segment is randomly intercepted from the time series to train the model . This sounds a little strange , But it is very feasible in practice . Because there are many rounds of training , One session at a time , Eventually, the whole sequence will be trained .
In contrast, every time you train from scratch , This greatly reduces the number of samples , It is very easy to cause over fitting .
forecast
Give me the first few X, that will do , The initial state is set to 0.
边栏推荐
- How can machinery manufacturing enterprises do well in production management with the help of ERP system?
- Swift basic FileManager (file management)
- Mysql45 talking about logging system: how does an SQL UPDATE statement execute?
- 二叉树的前中后序遍历——本质(每个节点都是“根”节点)
- Servlet无法直接获取request请求中的JSON格式数据
- [day_040421] binary conversion
- [day06_0423] C language multiple choice questions
- Niuke network: TOPK problem of additive sum between two ordinal groups
- Convolutional neural network (IV) - special applications: face recognition and neural style transformation
- [day_050422] continuous maximum sum
猜你喜欢

Introduction to three feasible schemes of grammatical generalization

PHP 多任务秒级定时器的实现方法

Widget is everything, widget introduction

Is the transaction in mysql45 isolated or not?

机械制造企业如何借助ERP系统,做好生产管理?

基于消防GIS系统的智慧消防应用

"Recursive processing of subproblems" -- judging whether two trees are the same tree -- and the subtree of another tree

Alibaba cloud OSS binding custom domain name

Convolutional neural network (III) - target detection

Intelligent fire protection application based on fire GIS system
随机推荐
[day_050422] continuous maximum sum
Embedded sharing collection 15
Xiao He shows his sharp corners and says hello to flutter app
[day_030420] numbers that appear more than half of the time in the array
The time complexity of two recursive entries in a recursive function
Do it yourself smart home: intelligent air conditioning control
L. Link with Level Editor I dp
白盒测试的概念、目的是什么?及主要方法有哪些?
Youwei low code: Brick life cycle component life cycle
Concurrency opening -- take you from 0 to 1 to build the cornerstone of concurrency knowledge system
【pytorch】图片增广
PHP 多任务秒级定时器的实现方法
RNN循环神经网络
Embedded sharing collection 14
Latex merges multiple rows and columns of a table at the same time
TPS Motion(CVPR2022)视频生成论文解读
PG Vacuum 杂谈之 auto vacuum
Introduction to three feasible schemes of grammatical generalization
Leetcode:336. palindrome pair
YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors