Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Genetic Programming or breeding Perls

by gumpu (Friar)
on Sep 02, 2001 at 13:34 UTC ( [id://109714]=note: print w/replies, xml ) Need Help??


in reply to Re: Genetic Programming or breeding Perls
in thread Genetic Programming or breeding Perls

"But I'm having a problem, quite often the populaion i overrun with exactly the same genes. I really need hlp figuring out how this is happening."

There can be a number of reasons for that. (1) Your population size is too small (GP works best with large populations) (2) Your mutation rate is too low (but your program it looks fine), or (3) Individuals with a low fitness have a too low probability to reproduce. If only the fitest individuals are allowed to reproduce they will take over the whole population. So weaker individuals have to have a chance to reproduce too. The probability for this depends on the population size. For a large population it can be low, for a small population is has to be high.

Hope that helps

Have Fun

  • Comment on Re: Re: Genetic Programming or breeding Perls

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://109714]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-19 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found