MATLAB Result Figure for genetic algorithm

조회 수: 4 (최근 30일)
Maryam
Maryam 2019년 10월 17일
댓글: Maryam 2019년 10월 19일
Hi all,
I have a question about the plot that MATLAB creates runnig genetic algorithm. The vertical axis shows the "number of individuals" and the horizontal axis shows "score". In Mathwork website, I found the definition for these as below:
  • number of individuals: number of population in each generation
  • score: fitness function or objective function value
My questions are:
  1. Is the the diagram shows the values correspond to all of the iterations from start to end, or it just shows the values for the last iteration?
  2. Based on my understanding the "population size" should remain the same for all the generations, if this is correct why it keeps changing in this diagram?
Thank you so much for your time and consideration.
  댓글 수: 16
Walter Roberson
Walter Roberson 2019년 10월 19일
I think that one does but I cannot be sure at the moment that one outlier did not get dropped. I would need to dig into the code.
Maryam
Maryam 2019년 10월 19일
Okay. Is there any reason for MATLAB to drop an outlier? I mean is there a rule or something or it just random?
I do appreciate you answering my questions patiently!

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by