Comments (11)
Hmm, an interesting one. Crossover currently doesn't allow invalids to be created (i.e. crossover will continue until all children in the population are valid), but there's no such catch for mutation. Should we implement something like that for mutation?
from ponyge2.
from ponyge2.
Probably the default should be to allow crossover to create invalids since that is the published algorithm. Maybe add switches --no-crossover-invalids
and --no-mutation-invalids
.
from ponyge2.
Switch added for --no_crossover_invalids. However, mutation is not quite so easy to put various checks in place (e.g. limitations on max depth/nodes/invalids) as the current mutation is done with a list(map()) function, necessitating a bit more thought to sort out.
from ponyge2.
Mutation now has the same checks as crossover. All checks have been moved to utilities.representation.check_methods.check_inds
. Checks can be extended to suit.
from ponyge2.
Setting the default fitness is now the responsibility of each individual fitness function. By default, we have set the default_fitness
value of each fitness function to numpy.NaN
. This allows us to calculate population statistics over the entire population by filtering out these np.NaN values using numpy's np.nanmax()
, np.nanmin()
, and np.nanmean()
functions. PonyGE will no longer crash if all individuals are invalid.
from ponyge2.
from ponyge2.
All this info should be in the README
I presume. RTFM issue...
from ponyge2.
from ponyge2.
Agreed. It's gonna take a fair while to ensure everything is in the README
. When the code review is being done it might be an idea to check that every aspect is documented in the README
somehow...
from ponyge2.
from ponyge2.
Related Issues (20)
- Default example doesn't run HOT 5
- Examples not working HOT 2
- `regex_improvement.txt` example - confusing message? HOT 1
- `seed_run_target.txt` example doesn't work
- Please help with solution min/max boundaries ❓ HOT 6
- Tree initialisation breaks when min = max depth
- Tree initialisation operators sometimes don't achieve stated depth
- Progsys with "Compare String Lengths" not giving valuable results
- Rethink if-else-classifier?
- progsys Digits problem
- progsys 'is' and 'is not' HOT 3
- missing contents of String Differences-Embed.txt HOT 1
- Statistics parser prog in Wiki incorrectly named
- save_state not working with multicore
- load_state not working with functions in custom module
- Post-processing python phenotypes is slow
- correct genome not returned when one of the codons is zero in the tree
- progsys count odds data
- Multi-objective optimisation is slow HOT 1
- Specifed moudle not found: fitness.xxx HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ponyge2.