How to get the outputs of every generation that is generated using ga and save it in workspace
1 view (last 30 days)
Show older comments
suppose , i used
objFcn =@(t) sim(net,t'); nvars =3; LB=[40,50,60]; UB=[90,110,100]; [X,FVAL] = gamultiobj(objFcn,nvars,[],[],[],[],LB,UB)
the above code optimizes and gives only certain values of x and their values for which the output of neural network 'net' is minimum in the given bounds.
But i want to save all the outputs produced by the net for every generation of ga, How can i do that? Hope i was clearly able to explain my question. Thank you.
0 Comments
Answers (0)
See Also
Categories
Find more on Genetic Algorithm 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!