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

1 visualización (últimos 30 días)
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.

Respuestas (0)

Categorías

Más información sobre Genetic Algorithm en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by