Info

此问题已关闭。 请重新打开它进行编辑或回答。

entering new data in Neural Network Time Series Tool

1 次查看(过去 30 天)
When i create a time series network and save it, how should i put new data in the created net and simulate it?

回答(2 个)

Chirag Gupta
Chirag Gupta 2011-7-20
This link contains the information you are looking for Time Series Tool
outputs = net(inputs,inputStates,layerStates); % Note inputStates and layerStates are only required for networks with tapped delay lines
  1 个评论
Mohammad
Mohammad 2011-7-20
Thank you dear Chirag
This command just gives output of data given to train, validate and test the network. I need to give new data and simulate the network with new data.

Chirag Gupta
Chirag Gupta 2011-7-20
Hi Mohammed,
Typically when you create a TimeSeries network, the network output also acts as the second input (feedback input). Typically for training these netoworks are open loop, requiring you to use function like:
preparets % doc preparets
to configure your inputs.
Once your network has been trained, you can use close the loop on your network.
closed_net = closeloop(net);
view(closed_net); % see the output is automatically fed back as the input
% Simulate with new data
outputs = closed_net(newInputs)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by