フィルターのクリア

How to retrieve ga options?

2 ビュー (過去 30 日間)
Mehmet OZC
Mehmet OZC 2016 年 2 月 3 日
回答済み: Walter Roberson 2016 年 2 月 3 日
I have run a ga procedure and it finished without a problem. However I wonder the parameters used in the procedure especially the population size. In other words there is an ended ga procedure and I want to retrieve the options used in that procedure.

採用された回答

Walter Roberson
Walter Roberson 2016 年 2 月 3 日
That information is not recorded after the end of the procedure.
If you passed an options structure in to ga, then use
gaoptimset(TheOptionsStructure)
to see what the final options would have been.
If you did not pass an options structure to ga, then use
gaoptimset(@ga)
to see what the options used were.
PopulationSize is not dynamic: it is determined by the options passed in or defaulted to.

その他の回答 (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