I'm going to build up a narx model using two inputs with different input delays for each input. How should i put different input delays in to my network?

inputsarray=[dlngold;day1]; inputs1=con2seq(inputsarray)
target=con2seq(aspilnreturn)
inputSeries = inputs1; targetSeries = target;
inputDelays = 1:1; feedbackDelays = 1:3; hiddenLayerSize = 2; net = narxnet(inputDelays,feedbackDelays,hiddenLayerSize);
[inputs,inputStates,layerStates,targets] = preparets(net,inputSeries,{},targetSeries);

 채택된 답변

If you have multiple inputs and want different delays for different inputs, you have to define a CUSTOM NETWORK with parallel input layers. The delays within each layer are the same.
For the appropriate documentation, use the commands
help network
doc network
Hope this helps.
Thank you for formally accepting my answer
Greg

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2015년 10월 26일

댓글:

2022년 10월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by