|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Problem generating populationHello. I'm using genetic programming with jgap and I have a problem while generating the initial population. I have a type which is output of only one function but it's input of many of them and there are no terminals of this type. The problem is, when I try to generate the initial population with "GPGenotype.randomInitialGenotype", it can't find suitable nets and clone only a few. As a result, I have no enough variability.
The problem seems to be that it can't close the net if one node with the problematic type as an input appears in the (maxInitDepth-1) level. The bigger the maxInitDepth constant is, the bigger is the time it takes to generate the population and with worst results. Is there any posibility to make laxer the condition so, if this situation happens, it will try to close the branch as soon as possible even if it breaks the max depth restriction? Any other solution will be welcome too. Thank you very much. Sorry if my english is not good enough, I hope the message were understandable. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ jgap-users mailing list jgap-users@... https://lists.sourceforge.net/lists/listinfo/jgap-users |
|
|
Re: Problem generating populationBruno,
sorry for the late reply. Is it possible in your case to increase the maxInitDepth? Do you believe there is a program error or bad program behaviour? Is it possible to get the configuration of your problem to dig in deeper and develop a good solution for your issue? Best Klaus www.klaus-meffert.com > -----Original Message----- > From: Bruno Fernández [mailto:bfg84@...] > Sent: Monday, October 26, 2009 5:49 PM > To: jgap-users@... > Subject: [jgap-users] Problem generating population > > Hello. I'm using genetic programming with jgap and I have a > problem while generating the initial population. I have a > type which is output of only one function but it's input of > many of them and there are no terminals of this type. The > problem is, when I try to generate the initial population > with "GPGenotype.randomInitialGenotype", it can't find > suitable nets and clone only a few. As a result, I have no > enough variability. > > The problem seems to be that it can't close the net if one > node with the problematic type as an input appears in the > (maxInitDepth-1) level. The bigger the maxInitDepth constant > is, the bigger is the time it takes to generate the > population and with worst results. > > Is there any posibility to make laxer the condition so, if > this situation happens, it will try to close the branch as > soon as possible even if it breaks the max depth restriction? > Any other solution will be welcome too. > > Thank you very much. > > Sorry if my english is not good enough, I hope the message > were understandable. > > > > > -------------------------------------------------------------- > ---------------- > Come build with us! The BlackBerry(R) Developer Conference in > SF, CA is the only developer event you need to attend this > year. Jumpstart your developing skills, take BlackBerry > mobile applications to market and stay ahead of the curve. > Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > jgap-users mailing list > jgap-users@... > https://lists.sourceforge.net/lists/listinfo/jgap-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ jgap-users mailing list jgap-users@... https://lists.sourceforge.net/lists/listinfo/jgap-users |
| Free embeddable forum powered by Nabble | Forum Help |