Is it possible to predict N future values with rbfnn?

I need help with forecasting values using newrb. My input looks like that:
P1=zeros(6,500);
Start=101;
tau=9;
P1(1,:)=P(Start:Start+500-1);
Start=Start+tau;
P1(2,:)=P(Start:Start+500-1);
Start=Start+tau;
P1(3,:)=P(Start:Start+500-1);
Start=Start+tau;
P1(4,:)=P(Start:Start+500-1);
Start=Start+tau;
P1(5,:)=P(Start:Start+500-1);
Start=Start+tau;
P1(6,:)=P(Start:Start+500-1);
so
size(P) = [6 500]
and target
size(T) = [1 500].
Then I choose sum-squared error goal, spread constant and use newrb
net = newrb(P1,T,eg,sc,mn,df);
and
ytrain = net(P1);).
So my question is how to write the script that predicts the N values from my Data ??

 채택된 답변

Greg Heath
Greg Heath 2013년 8월 21일
편집: Greg Heath 2013년 8월 21일
1. Use the autocorrelation function to determine the significant nonzero delays of P; Use as many as needed.
2. For the purpose of an example, assume 1,2,and 4 are enough significant delays.
3. Create the 3-D input and 1-D output
input = [ P( 1: 500-4) ; P(3: 500-2) ; P(4: 500- 1)];
output = P(5: 500)
Hope this helps.
Greg

댓글 수: 2

This is easily extended to a multidimensional output.
However, why not just use NARNET?
Can you please elaborte how?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2012년 11월 11일

댓글:

2019년 5월 2일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by