Answers.Body: <p>Not always. The representation of chromosomes in genetic algorithms is often dependent on the specific problem to be solved and number of variables to be found through the optimization process.</p>
  <p>Not only you can chose a 16-bit representation, but integer-based representations are also used as mentioned <a href="https://hub.packtpub.com/using-genetic-algorithms-for-optimizing-your-models-tutorial/" rel="nofollow noreferrer">here</a>.</p>
  <p>At the computation level, using a binary representation usually facilitates cross over operations on the bit arrays. 8 bits are compact while already give you a range of <a href="https://en.wikipedia.org/wiki/Chromosome_(genetic_algorithm)#Chromosome_design" rel="nofollow noreferrer">0-255</a> different values for a given variable, thus provides a first option to go unless you need a larger value space.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-03T09:10:52.187Z
Answers.LastActivityDate: 2022-10-03T09:10:52.187Z
Answers.UserDisplayName: JRodrigoF
Body: <p>I am learning about <a href="https://en.wikipedia.org/wiki/Genetic_algorithm" rel="nofollow noreferrer">genetic algorithms</a>.</p>
  <p>Why chromosomes are represented using 8 bit binary.</p>
  <p>This arose when I apply crossover techniques to the bits.</p>
  <p>Please help me to find the answer.Thanks in advance !</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-10-02T22:52:45.583Z
Comments.Text: Hi @Julie I do understand you originally posted on Stackoverflow and were directed here. This is a good question, however it is a statistics problem because the chromosomes are not a physical chromosome but a name given to the algorithm design. https://stats.stackexchange.com is better suited to this question.
Comments.UserDisplayName: M__
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-10-03T10:42:42.687Z
Comments.Text: I agree that it's not biology, but I consider genetic algorithms to be a programming problem, not a stats problem (and have been asked and answered on SO previously, [e.g.](https://stackoverflow.com/questions/2179823/genetic-algorithms)). Seems to me like StackOverflow would have been an appropriate place to ask this question.
Comments.UserDisplayName: gringer
Tags: <gene><gene-expression><algorithms><genetics><chromosomes>
Title: Why are genetic algorithm chromosomes represented using 8 bit binary?
ThreadText: # Why are genetic algorithm chromosomes represented using 8 bit binary?
  
  (Asked by: username_0 on 2022-10-02)
  
  I am learning about [genetic algorithms](https://en.wikipedia.org/wiki/Genetic_algorithm).
  
  Why chromosomes are represented using 8 bit binary.
  
  This arose when I apply crossover techniques to the bits.
  
  Please help me to find the answer.Thanks in advance !
  
  **Tags:** gene, gene-expression, algorithms, genetics, chromosomes
  
  > **Comments:**
  > **username_1**: Hi @username_0 I do understand you originally posted on Stackoverflow and were directed here. This is a good question, however it is a statistics problem because the chromosomes are not a physical chromosome but a name given to the algorithm design. https://stats.stackexchange.com is better suited to this question.  
  > **username_2**: I agree that it's not biology, but I consider genetic algorithms to be a programming problem, not a stats problem (and have been asked and answered on SO previously, [e.g.](https://stackoverflow.com/questions/2179823/genetic-algorithms)). Seems to me like StackOverflow would have been an appropriate place to ask this question.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2022-10-03. Score: 1
  
  Not always. The representation of chromosomes in genetic algorithms is often dependent on the specific problem to be solved and number of variables to be found through the optimization process.
  
  Not only you can chose a 16-bit representation, but integer-based representations are also used as mentioned [here](https://hub.packtpub.com/using-genetic-algorithms-for-optimizing-your-models-tutorial/).
  
  At the computation level, using a binary representation usually facilitates cross over operations on the bit arrays. 8 bits are compact while already give you a range of [0-255](https://en.wikipedia.org/wiki/Chromosome_(genetic_algorithm)#Chromosome_design) different values for a given variable, thus provides a first option to go unless you need a larger value space.
  
  
  ---
  
  