How can I use different delays on inputs using the neural network toolbox?

1 回表示 (過去 30 日間)
Alex C
Alex C 2015 年 4 月 15 日
コメント済み: Alex C 2015 年 5 月 6 日
Hey, It's my first time asking a question, so apologies if the format is incorrect or unclear.
I am trying to obtain a river runoff prediction using inputs of rainfall (RF), upper zone (UZ) soil storage and lower zone (LZ) soil storage, i.e. 3 inputs I can create an input cell array where these inputs are stored for each (hourly) timestep, P={1xN timesteps} P(1)=[Inp1(1);Inp2(1);Inp3(1)] ... P(N)=[Inp1(N);Inp2(N);Inp3(N)]
This works when used in the various networks in the toolbox, but the problem is that the different inputs correlate to the output flow at different time lags, (e.g. RF at 10-24 hours, UZ at 24-36, LZ at 36-60).
So when I use a net tool, like net = timedelaynet(inputDelays,hiddenLayerSize,trainFcn); The input delays must be between 10-60 to capture all the relevant information from the input data. This creates 150 inputs which causes problems with speed and instability.
I tried messing about with net.numinputs, but had no joy. I could also physically change the input matrix so that each cell, (P(1) to P(N)) contains all the delays of all the inputs, but this removes the purpose of using a timedelay network, which I find useful for a number of reasons.
Any ideas?
Again sorry if the problem is confusing
Alex

採用された回答

Greg Heath
Greg Heath 2015 年 4 月 22 日
AFAIK delays are the same for all inputs.
Similarly for output feedback delays.
As long as you do not have too many ineffective delays for some of the inputs, it should not be a problem.
Otherwise, you may have to combine outputs from multiple nets.
[ I N ] = size(inputs) % = ?
[ O N ] = size(targets) % = ?
Hope this helps.
Thank you for formally accepting my answer
Greg
  1 件のコメント
Alex C
Alex C 2015 年 5 月 6 日
Thanks for that Greg. I can actually do exactly what I want in the System Identification toolbox, in case anyone has a similar problem. The problem is that this toolbox doesn't seem to allow closed loop feedback delays

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by