Different init_range #53
-
| 
         Mr Gad,  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            ahmedfgad
          
      
      
        Jun 28, 2021 
      
    
    Replies: 1 comment
-
| 
         Hi @itmamdiyar26, This feature is already supported in PyGAD using the  Here is an example to have a range of discrete (integers only) values. gene_space=[range(-5, 10), range(50, 70), range(3, 18)]Read this for more information: https://pygad.readthedocs.io/en/latest/README_pygad_ReadTheDocs.html#more-about-the-gene-space-parameter Please ask if you have any questions.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        ahmedfgad
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Hi @itmamdiyar26,
This feature is already supported in PyGAD using the
gene_spaceparameter.Here is an example to have a range of discrete (integers only) values.
Read this for more information: https://pygad.readthedocs.io/en/latest/README_pygad_ReadTheDocs.html#more-about-the-gene-space-parameter
Please ask if you have any questions.