How to get the outputs of every generation that is generated using ga and save it in workspace

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Genetic Algorithm 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by