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.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1305 views
  • 3 likes
  • 2 in conversation