Borrar filtros
Borrar filtros

How to predict 1 day ahead using NNTOOL

1 visualización (últimos 30 días)
Ain Zulkurnain
Ain Zulkurnain el 15 de Abr. de 2017
Comentada: Muhammad Usman Saleem el 8 de Mayo de 2023
Hi everyone! I have developed and trained a neural network by implementing NNTOOL. I obtained the output from the toolbox itself. The question is, what is the next step for me to carry out 1 day ahead prediction by using the existing neural network. I have 506 input and output data. I would like to get the next day' value, which is the 507th data. But how do I do that? Here's an illustration for better understanding. It consists of 506 data.
I would greatly appreciate your answer because I am working on my final year project. Thank you.

Respuestas (1)

Greg Heath
Greg Heath el 16 de Abr. de 2017
Insufficient information.
I assume NARNET
Which data set? N = ?
Default delays 1:d, d = 2 ?
input = x( 1 : N - d )
target = x( d + 1 : N )
input = x( N - d + 1 : N )
prediction ~ x( N + 1 : N + d )
Hope this helps.
Thank you for formally accepting my answer
Greg
  1 comentario
Muhammad Usman Saleem
Muhammad Usman Saleem el 8 de Mayo de 2023
@Greg Heath for future prediction of 3 steps how which command will use?

Iniciar sesión para comentar.

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by