how to predict next value using time series data?
Show older comments
I am having 2 patient glucose data(y(t)) and the inputs feature values (time,meal) for 3 days. How can i predict the next time step glucose value. I am little bit confuse about how to give data to neural network. input= time, meal output=glucose data depending on time and meal, output glucose level is calculated. So how should i store my data in excel sheet so that i can do the good prediction.
5 Comments
Greg Heath
on 1 Jun 2016
Do you have enough data??
[ I N ] = size(input) % = ?
[ O N ] = size(target) % = ?
Greg
madhuri panwar
on 2 Jun 2016
Greg Heath
on 3 Jun 2016
Edited: Greg Heath
on 3 Jun 2016
I do not understand . The command size NEVER yields a single number.
What are the two-dimensional sizes of your input and target matrices? The 2nd, N, is the number of input-output pairs.
madhuri panwar
on 4 Jun 2016
Greg Heath
on 4 Jun 2016
Why do you try to make it so confusing? Just type the following into the command line and tell me what you get
[ I N ] = size(input)
[ O N ] = size(target)
Greg
Answers (1)
Greg Heath
on 6 Jun 2016
OK I get it:
[ I N ] = size(input) % [ 3 144 ]
[ O N ] = size(target) % [ 1 144]
Hope this helps.
Thank you for formally accepting my answer
Greg
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!