The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Specify/change the error used by train command
Replies: 4   Last Post: Feb 4, 2013 2:15 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: Specify/change the error used by train command
Posted: Feb 4, 2013 9:27 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"AM76 " <> wrote in message
>> I don't understand.
>> Please explain "output of the NN is multiplied by a system"
>> If you know what the output of the system should be for a given NN input,
>> why don't you just train the net to yield that desired output?
>> Hope this helps.
>> Greg

> Thanks for reply, Greg
> I have a desired target T and a plant system P. I want to use the NN as a
> controller which will be infron of the plant P. In more details, if the
> target T responds by an input in, then I insert the input to the NN to
> results, Onn, then this, Onn, will be used as input to the plant P. I want
> output of the plant P should track the target T. Therefore, I need the
> error T-P should be back propagated through the Plant Inverse and then
> used to train the NN. I am trying to use the train command and I don't
> figureout how to specify a special error to be used for the gradient in
> train command? Or any other suggestions.

So you're creating a neural network control system? If you're using Simulink
to do so, there's documentation for that.

> I have to reprogram the whole feedforward and backpropagation from scratch
> without the facility which available in train command,


If this is for a school project and the goal of the course for which you're
doing this is NOT to learn neural networks but to control the system, ask
your professor why they're placing this limitation on you.

> I did it but it's slow and need a lot of work to specify the correct
> initials and gradient.

Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.