Encoding Solutions as Bit Strings: BIN2DEC & SUMPRODUCT
This lesson is part of the course
In this lesson
You decode 5-bit chromosomes into numbers x, score them with f(x) = x(40 − x), decode gene cells with place values and read the weight of two backpack chromosomes.
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
- Encoding Solutions as Bit Strings: BIN2DEC & SUMPRODUCT Locked
- Fitness with a Penalty: Scoring Over-Weight Backpacks Locked
- Roulette-Wheel Selection: Cumulative Shares & MATCH Locked
- Tournament Selection: Random Entrants, Fitter One Wins Locked
- Single-Point Crossover: LEFT, RIGHT & a Gene-Wise IF Locked
- Bit-Flip Mutation: Flip a Gene When u < pm Locked
- One Full Generation: Select, Cross, Mutate, Re-Score Locked
- Convergence over Generations vs the Brute-Force Optimum Locked