Tolerance criteria for cost function obtained with PSO
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi,
I have applied PSO for minimization of RMS value that is my cost function. I have used 150 iterations. How can I set up a tolerance criteria (e.g. 10^-12) for the cost function? So I want to run PSO until I get the cost function close to 10^-12. I call the PSO function within the script and the function outputs the best position, best cost, and cost convergence for 150 iterations. Should I set the tolerance criteria inside the script like a for loop or something else? Any advice would be very helfpul. Thanks.
댓글 수: 0
답변 (1개)
Walter Roberson
2016년 11월 30일
You can set FunctionTolerance in relative terms. You would want to set MaxIterations high.
참고 항목
카테고리
Help Center 및 File Exchange에서 Particle Swarm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!