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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1150 views
  • 3 likes
  • 2 in conversation