Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

entering new data in Neural Network Time Series Tool

1 visualizzazione (ultimi 30 giorni)
Mohammad
Mohammad il 20 Lug 2011
Chiuso: MATLAB Answer Bot il 20 Ago 2021
When i create a time series network and save it, how should i put new data in the created net and simulate it?

Risposte (2)

Chirag Gupta
Chirag Gupta il 20 Lug 2011
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 Commento
Mohammad
Mohammad il 20 Lug 2011
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 il 20 Lug 2011
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)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by