how to predict next value using time series data?

3 views (last 30 days)
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.
Greg Heath
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)

Sign in to comment.

Answers (1)

Greg Heath
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


Find more on Sequence and Numeric Feature Data Workflows 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!