フィルターのクリア

how can insert my data example NIR data into genetic alogrithm tool in matlab

3 ビュー (過去 30 日間)
HASAN AL-KAF
HASAN AL-KAF 2017 年 2 月 27 日
回答済み: Walter Roberson 2017 年 2 月 27 日
Hi I am using near infrared data as input to genetic algorithm without using any function . How can i use these data if I want to use genetic algorithm in optimization toolbox in MATLAB Thank you

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 2 月 27 日
You cannot do that with genetic algorithm.
If you were using particleswarm you could input the data as InitialSwarmMatrix. Unfortunately, though, particleswarm() will not permit you execute without providing a function to optimize.
I suspect that you do want to use a function.
If you want to operate on the NIR data in the function (such as if you were using it as data to fit against) then you would do that by Parameterizing the objective function
If you want to provide the NIR data as initial population members for some objective function, then you would need to use a custom population creation function.

カテゴリ

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