Skip to content

himanish-star/GA_Cricket_Team_Selection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/