Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 1.73 KB

README.md

File metadata and controls

38 lines (33 loc) · 1.73 KB

GA_Cricket_Team_Selection

Genetic Approach to making a team selection, based on previous performance

Live demo 😃

https://cricket-selection-ga.herokuapp.com/

Steps used:

  1. Initialize population
  2. Calculate fitness values for each chromosome
  3. Apply roulette selection or stable selection for selecting chromosomes for crossover in the next step
  4. Select a random gene for crossover
  5. Implement mutation for a chromosome
  6. Create new population with half of them produced by crossover and the other half by selection of the fittest
  7. Repeat steps 2 to 6 while the stop condition is not met or until user intervention of the process

Todos (for personal reference)

Steps to download and run code locally

$ git clone https://github.com/himanish-star/GA_Cricket_Team_Selection.git
$ cd GA_Cricket_Team_Selection
$ npm start

open http://localhost:3000/