当前位置:网站首页>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.
边栏推荐
- Servlet无法直接获取request请求中的JSON格式数据
- Code Runner for VS Code,下载量突破 4000 万!支持超过50种语言
- Taobao JD pinduoduo Tiktok taote 1688 and other multi platform commodity app details API interfaces (commodity details page data interface, commodity sales interface, keyword search commodity sales in
- [day_030420] find the longest consecutive number string in the string
- Leetcode:336. palindrome pair
- YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
- Leetcode 42. rainwater connection
- 【无标题】
- Leetcode:934. The shortest Bridge
- Convolutional neural network (II) - deep convolutional network: case study
猜你喜欢
![[the most complete and detailed] ten thousand words explanation: activiti workflow engine](/img/4c/2e43aef33c6ecd67d40730d78d29dc.png)
[the most complete and detailed] ten thousand words explanation: activiti workflow engine

【Day05_0422】C语言选择题

A tool for quickly switching local host files -- switchhosts

Mysql45 talking about global lock, table lock and row lock
C language explanation series - comprehensive exercises, guessing numbers games
![[day05_0422] C language multiple choice questions](/img/cb/0019ec819480bd9f52055e726b323a.png)
[day05_0422] C language multiple choice questions

Leetcode:336. palindrome pair

Introduction to three feasible schemes of grammatical generalization

TPS Motion(CVPR2022)视频生成论文解读

【Day_06 0423】不要二
随机推荐
Traversal of the first, middle, and last order of a binary tree -- Essence (each node is a "root" node)
[day_020419] inverted string
[day_070425] legal bracket sequence judgment
Servlet cannot directly obtain JSON format data in request request
Leetcode:741. picking cherries
Easycvr video square channel display and video access full screen display style problem repair
YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
Distributed | practice: smoothly migrate business from MYCAT to dble
[Hangzhou][15k-20k] medical diagnosis company recruits golang development engineers without overtime! No overtime! No overtime!
[specified interval inversion in BM2 linked list]
数据库sql语言实战
Niuke network: TOPK problem of additive sum between two ordinal groups
CCTV dialogue ZTE: why must the database be in your own hands?
English sentence pattern reference exclusive Edition - adverbial clause
ament_ Cmake generates the ros2 library and links it
Code runner for vs code, with more than 40million downloads! Support more than 50 languages
Redis sentinel cluster setup
Youwei low code: Brick life cycle component life cycle
Introduction to three feasible schemes of grammatical generalization
[day_040421] calculate candy