BookmarkSubscribeRSS Feed
stoffprof
Calcite | Level 5

I've found the genetic algorithm documentation to be somewhat vague with regard to the details of its implementation. For example, in describing the GASETSEL call, nothing is said about how members are chosen from the population to participate in the tournament. Is it a roulette wheel implementation?

2 REPLIES 2
stoffprof
Calcite | Level 5

Another example: what does the random seed in GASETUP do if a user-written initialization module is specified? Does it do anything?

Hutch_sas
SAS Employee

Members are chosen completely at random from the population to participate in the tournament. The tournament itself generates the selection pressure to choose the fittest  member. If you are concerned that a very fit member of the population might not be chosen to participate in the tournament, you can use the elite parameter to guarantee the best solution are carried over to the next generation. There is a "Genetic Algorithms" section of the Language Reference Manual that explains the operation of the genetic algorithm routines in  more detail.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 2 replies
  • 1176 views
  • 3 likes
  • 2 in conversation