Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

entering new data in Neural Network Time Series Tool

1 vue (au cours des 30 derniers jours)
Mohammad
Mohammad le 20 Juil 2011
Clôturé : MATLAB Answer Bot le 20 Août 2021
When i create a time series network and save it, how should i put new data in the created net and simulate it?

Réponses (2)

Chirag Gupta
Chirag Gupta le 20 Juil 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 commentaire
Mohammad
Mohammad le 20 Juil 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 le 20 Juil 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)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by