Dynamic Neural Network [NARX] - How to use training set

1 view (last 30 days)
Hi,
I have process with laser power and velocity as inputs and temperature as output and i want to model the process with a neural network. Later on, an adaptive controller of the process based on model (with prediction) would be a possible future project. So currently I use a PID controller for the laser to reach a certain temperature, the velocity is an external influence. I worked through the Neural Network Toolbox book by Demuth and I made some assumptions that I hope are correct, please help me out with this:
-I consider a NARX to be the right architecture since the upcoming temperature heavily depends on previous temperatures.
-Levenberg-Marquardt is according to the book the most powerful algo for function analysis
So I have ran the process 30 times (starting with zero laser power, zero velocity and room temperature) and no I want to feed them into the network. Is the batch mode here the right approach? If not, how do merge the data for the input (I would assume one epoch is one run of the process). Is it even possible to have multiple inputs (power,velocity) in such a network?
Thanks for every bit of information that you can provide! Kind regards, Wompy

Accepted Answer

Greg Heath
Greg Heath on 19 Sep 2013
Most neural networks are , in general, multi-input/multi-output. Just interpret the input, hidden and output variables as column vectors. If you go to
help nndatasets
you can find a MATLAB dataset that will represent most of the troubling features of your problem.
Practice on that. If you have problems, post relevant code and error messages.
Hope this helps.
Thank you for formally accepting my answer
Greg
  2 Comments
Wompy
Wompy on 19 Sep 2013
Thanks Greg for your quick answer, I took the polution dataset out of the help page and it helped a lot in understanding those cell structures. Still I would like to know if my assumptions above are so far correct. I am also still not sure if I understood epoch correctly. Using 20 000 Cells with that input pair and one output value, nntraintool only needed 14 epoches (does this mean 14-out-of-20000) to set up the model. Is this due to the low complexity of my artificial data (i added some gaussian noise)?
Greg Heath
Greg Heath on 29 Sep 2013
What assumptions? Be specific
What about epoch? Be specific
What do you mean by 20000 Cells? cell has a specific meaning in MATLAB
Each epoch processes all of the data once.
What artificial data?

Sign in to comment.

More Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!