Tutorvo

Tournament Selection: Random Entrants, Fitter One Wins

Lesson 4 of 815 minLab

This lesson is part of the course

In this lesson

You run six 2-way tournaments with given random numbers: draw two entrants, compare their fitness, keep the winner and measure how much fitter the mating pool is than the population.

Buy the course once for $9.99 to unlock every lesson and lab, the final exam and the certificate – lifetime access, no subscription.

Lessons in this course

  1. Encoding Solutions as Bit Strings: BIN2DEC & SUMPRODUCTLab14 min Locked
  2. Fitness with a Penalty: Scoring Over-Weight BackpacksLab15 min Locked
  3. Roulette-Wheel Selection: Cumulative Shares & MATCHLab16 min Locked
  4. Tournament Selection: Random Entrants, Fitter One WinsLab15 min Locked
  5. Single-Point Crossover: LEFT, RIGHT & a Gene-Wise IFLab16 min Locked
  6. Bit-Flip Mutation: Flip a Gene When u < pmLab14 min Locked
  7. One Full Generation: Select, Cross, Mutate, Re-ScoreLab18 min Locked
  8. Convergence over Generations vs the Brute-Force OptimumLab16 min Locked