how to use neural network as fitness function for GA?

1 view (last 30 days)
i have created a neural network using neural network toolbox. i wanted to use this network as a fitness function in GA toolbox. can you please tell me how to do this.

Accepted Answer

Greg Heath
Greg Heath on 6 Jan 2015
I have never heard of using a neural network as a fitness function. This wording implies that the network is fully trained and implements the estimate of a nonnegative function of the inputs that will be minimized for one or more optimal subsets of inputs.
Or are you just trying to use GA to design a net by finding one of the optimal sets of weights?
If so, the NNTBX does not have that option. You will have to design your own code which, ideally, will include GA functions of other Toolboxes. To find these type
lookfor genetic
and
ver
Hope this helps.
Thank you for formally accepting my answer
Greg
  5 Comments
Greg Heath
Greg Heath on 13 Jan 2015
Well, what are the three parameters and what is the output?
Didn't I ask thiese questions before???
Fazal Ibrahim
Fazal Ibrahim on 17 Dec 2020
I am also facing similiar problem..
My input parameters are heat input, clamping location and welding speed..I want to minimize residual stress(output)

Sign in to comment.

More Answers (0)

Categories

Find more on Deep Learning Toolbox 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!