NAR Neural network predict Y(t+1) value
이전 댓글 표시
Hi all, I am writing down a script matlab to try to use NAR neural network.
Let's suppose net is my network just created, also suppose that y is my array of values. NAR are used to predict y(t) starting from y(t-1), y(t-2), ... ,y(t -n) where n is the delay.
Let's suppose I have K values, If I run my net I will get K - n values (first n values are not computable, because of the delays ), ok? But If I want get the K +1 value (effective prediction), how can I do?
I have been thinking that to compute the K +1 value my net would use just the K, K-1, ...K-n values of my y, so I could set my y(k+1) in a random way.
Am I wrong?
채택된 답변
추가 답변 (1개)
Qazeem Ogunlowo
2022년 10월 27일
0 개 추천
Please, can anyone help me with the code that I can what is below? Thanks
For some applications it helps to get the prediction a timestep early. The original network returns predicted y(t+1) at the same time it is given y(t+1). For some applications such as decision making, it would help to have predicted y(t+1) once y(t) is available, but before the actual y(t+1) occurs. The network can be made to return its output a timestep early by removing one delay so that its minimal tap delay is now 0 instead of 1. The new network returns the same outputs as the original network, but outputs are shifted left one timestep.
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!