Fitting experimental data using genetic algorithm
이전 댓글 표시
I have a set of experimental data to fit to my model containing 26 data point at each voltage. The number of variable parameters in my model is 9 and I have used genetic algorithm (ga) in Matlab Optimization Toolbox to minimize the mean squared error (MSE). I could get perfect fit to the data at each voltage, obviously with a few local minima. I used the solutions of these local minima to seed the initial populations in gamultiobj to fit the whole data (6 sets of 26 data point at each voltage) but have not a close fit yet. Before I had inspected the solutions for each individual voltage and tried to find the shared solution and could get a perfect fit by changing the parameters manually, but it took weeks to achieve this solution. I would appreciate if you could let me know if there is a better solution.
답변 (1개)
Alan Weiss
2013년 7월 2일
1 개 추천
You would probably do better to use lsqcurvefit or lsqnonlin, possibly with MultiStart to search among the local minima. Here is an example using a model with just three parameters, but I am sure you can get the idea.
Here is an example using MultiStart to search for better minima.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
카테고리
도움말 센터 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!