Neural Network Time Series tool

조회 수: 3 (최근 30일)
cmsr
cmsr 2016년 9월 29일
댓글: geofo 2021년 11월 30일
Hello folks,
I want to setup a Neural network to predict some values, I look the Matlab guide for neural network and I find this example:
y = laser_dataset;
y = y(1:600);
ftdnn = timedelaynet([1:8], 10);
ftdnn.trainParam.epochs = 50;
ftdnn.divideFcn = '';
p = A(9:end);
t = A(9:end);
Pi = A(1:8);
ftdnn = train(ftdnn,p,t,Pi);
yp = ftdnn(p,Pi);
e = gsubtract(yp,t);
rmse = sqrt(mse(e))
My question is, how can I see the next predicted value? Or how can I calculate the predicted output data of the neural network?
The manual is a bit confusing because it only indicates how to determine the prediction error, but how could use this RMSE to know the value?
You see, this is a It is a valid question, because I have found a lot of confusion over the Internet on such networks without clear and objective answers.
Another question I have is, I can use the same network (FTDNN) using small samples of input data, say 20 or 30 inputs, providing the output 21 or 31?
Thanks a lot for your help!
  댓글 수: 1
geofo
geofo 2021년 11월 30일
The question is still not answered. A neural network is trained that "A==A" (it can be seen the input vector is identical to the output vector, p==t). The writer of the manual is pleased that the error is small. Indeed one can expect that for any input A the output will be precisely A after this training. However the readers are not pleased at all with this example. How can a useful prediction be made after such a tautologic training?

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

채택된 답변

Greg Heath
Greg Heath 2016년 10월 2일
NARNET is the function for a single series
help NARNET
doc NARNET
Search BOTH NEWSGROUP and ANSWERS with
greg NARNET
greg NARNET tutorial
Hope this helps.
Thank you for formally accepting my answer
Greg

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by