entering new data in Neural Network Time Series Tool

When i create a time series network and save it, how should i put new data in the created net and simulate it?

Answers (2)

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 Comment

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.
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)

This question is closed.

Asked:

on 20 Jul 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!