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 Center および File ExchangeGenetic Algorithm についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by