how to predict next value using time series data?
显示 更早的评论
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 个评论
Greg Heath
2016-6-1
Do you have enough data??
[ I N ] = size(input) % = ?
[ O N ] = size(target) % = ?
Greg
madhuri panwar
2016-6-2
Greg Heath
2016-6-3
编辑:Greg Heath
2016-6-3
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
2016-6-4
Greg Heath
2016-6-4
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
回答(1 个)
Greg Heath
2016-6-6
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
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!