genetic algorithm matlab minimization
显示 更早的评论
Hi, I would like to use the Optimization-ToolBox of Matlab that provide a tool for the Genetic Algorithms. I have a small equation (Score= alpha*(\sum(L[i])^(1/alpha) + Beta*(\sum(R[i])^(1/Beta)) that compute a score where L and R are vectors of values that I computed before and alpha and beta are parameters that I want to optimize via the GA. The constraint is that the scores should be close to another vector of scores called ground truth. We can formalize this constraint by : " |score - ground_truth_score|_2^{2}=0"
So for every L[i] and R[i], an Alpha and Beta would optimize the constraint defined before.
I'm trying to discover the GA in Matlab, however, I don't know how to formalize the constraint with the fitness function (the equation).
回答(1 个)
Alan Weiss
2015-11-11
0 个投票
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
2 个评论
Anass
2015-11-12
类别
在 帮助中心 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!