Error miscalculation in GA model.

조회 수: 10 (최근 30일)
Yuandong Wang
Yuandong Wang 2022년 10월 20일
댓글: Walter Roberson 2022년 10월 21일
I have a genetic algorithm model. It records the optimized variables in every iteration and stores in an array. The array also contains the calculated error for every iteration. Most of the errors match their corresponding variable values, but there are always a few that do not. Why is that? How can I fix it? I have set rng to default for reproducibility. Thank you.
  댓글 수: 1
Walter Roberson
Walter Roberson 2022년 10월 21일
The values might not match if there is a constraint violation.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by