r/GeneticProgramming • • Oct 05 '24

Probably niche question about seeding a population using NEAT-python

3 Upvotes

I am using NEAT-python, and am trying to seed a population to create properly oscillating behaviours. I am seeding bc tbh I'm having a bit of an issue with generating osscilation. Does anyone have any experience with this?

I have made a more detailed issue on their github, including a script exampling my issue


r/GeneticProgramming • • Aug 05 '20

Lesson Learned #1

3 Upvotes

When Debugging your (DSL) parser for your Genetic Programming System, always make sure you have turned off ALL the mutations before you start to step through the code. That way the executing code will actually match the original algorithm.


r/GeneticProgramming • • Nov 24 '18

Genetic Programming and the Halting Problem

Thumbnail
youtube.com
3 Upvotes

r/GeneticProgramming • • Jul 22 '18

Evolving simple programs for playing Atari games

Thumbnail
arxiv.org
3 Upvotes

r/GeneticProgramming • • Jun 12 '18

DeepCoder: Learning to Write Programs

Thumbnail
arxiv.org
3 Upvotes

r/GeneticProgramming • • May 21 '18

Solving Santa Fe Trail with a PG/GE

3 Upvotes

I work on a genetic programming (grammatical evolution inspired) hobby project (at a very early stage). To learn and to debug the algorithms I went with solving the famous Santa Fe Trail problem.

Fitness function is essential

After implementing some very basic parts of the program (elitism, truncation selection, subtree-local mutation, restricted grammar) I stuck for like a week because I used a bad fitness function (food_eaten / steps — still can't fully grasp why is it bad). It actually perform good with the standard food_eaten fitness function.

Success rate

Now I avoid duplicates in the initial generation, use elitism, tournament selection, subtree crossover, subtree-local mutation, and a freeform grammar, and the program is able to find a solution somewhat like 20% of times (perception, not a real statistics). If a solution is not found relatively quickly (20–50 generations), it seems it's not going to be found in a reasonable time (5000 generations) at all.

This low success rate is something I'd like to improve. I presume the cause of this is a particular initial generation: if the sampling was good, we'll find a solution; if the sampling was bad, we're out of luck.

I thought "so, let's mix a constant flow of low-fit randomness in!", but it doesn't seem to introduce any obvious changes in the process (though I don't have statistics on this).

Another possible approach would be to start from scratch in case no best score improvements has been seen for a number of generations.

Now I wonder, if there are some worthy approaches to improve the success rate?

Ideally, I'd prefer an on-line process, so I'm planning to move to (or at least to try) a steady state variant, but I don't think it's going to drastically change the success rate.

Code

The project is written in Swift, and is open-source: https://github.com/werediver/Sandbox

(just realized I didn't put a license there, but it would have been MIT anyway; and the project is not reusable at the moment)

It's being developed on OS X, but should be 98%+ compatible with Linux, I presume.

A tiny (literally, 22 seconds) demo video! https://www.youtube.com/watch?v=InpbbgpDQkg


r/GeneticProgramming • • Mar 03 '17

Revival

3 Upvotes

Hey, guys. I am an undergraduate computer science student who is doing research of genetic programming under a reputable professor within the field. I would love to see this community become active so I can share my experiences as well as learn from those of others.


r/GeneticProgramming • • Nov 28 '15

Using GP to Solve Programming Problems in Brainfuck

Thumbnail igliu.com
3 Upvotes

r/GeneticProgramming • • Nov 18 '15

How I learned to stop worrying about Turing completeness and love primitive recursion

Thumbnail
aeporreca.org
3 Upvotes

r/GeneticProgramming • • Jul 07 '26

Symbolic regression re-deriving Kepler's third law from 8 data points (pure-Python)

Post image
2 Upvotes

r/GeneticProgramming • • Apr 04 '25

Image classification by evolving bytecode

Thumbnail zyme.dev
2 Upvotes

r/GeneticProgramming • • Jan 04 '25

What's your job in the field and how did you get there?

2 Upvotes

Basically the title very interested in genetic engineering (in regards to curing diseases maybe r&D side). I would just like to hear what kind of degrees and paths people took. I'm looking into bioinformatics, biomedical engineering, and molecular biology.


r/GeneticProgramming • • Oct 02 '24

Toolbox in GP

2 Upvotes

Anyone know a good toolbox for GP? Or is it better to program every step? Thanks.


r/GeneticProgramming • • Feb 06 '23

GP.Lab: Dark Silicon Update

Thumbnail
genetic-programming-lab.blogspot.com
2 Upvotes

r/GeneticProgramming • • Nov 21 '22

Genetic program for classifying time-series data with discrete classes

2 Upvotes

My dataset consists of data collected from various sensors over time, with three discrete outcomes. This data was collected from multiple volunteers. Something like this (there's a lot more data points in the real dataset):

TimeSensor1Sensor2Classification
5ms0.7546540.875612ClassOne
10ms0.7546540.875612ClassOne
5ms0.4848750.18484ClassTwo
10ms0.484840.184616ClassTwo

My initial idea for fitness function was to compute the individual using each of the sensor data points and return whether the sign of the result matches the sign assigned to the class, like this:

Individual: cos(x) + sin(y)

cos(0.754654) + sin(0.875612) = 1.4964442580137667 (sign = +, and + is assigned to ClassOne)

This idea does not work (best fitness I get is around 49%). I've played around with different primitives. Does anyone have any suggestions or readings that might help me figure this out? How should I handle time-related data?


r/GeneticProgramming • • Sep 18 '21

doubts about GPTIPS

2 Upvotes

hello, I have been using gptips for a university research project.

In a part of the work I use 4 input variables and 1 output variable, my problem is that in this way I get too big errors in the validation close to 200k (lol) but in the training I get errors less than 1.

Do you have any advice on the configuration to improve the model?


r/GeneticProgramming • • Dec 09 '20

Looking for good resources on (MO)-GP

2 Upvotes

Is the book multi-objective optimization using evolutionary algorithms by Deb still relevant literature to MO-GPs? The field guide by Poli is another resource I get recommended by colleagues, however it's from 2008 and I'd like to get up to date with the field in 2020


r/GeneticProgramming • • Sep 27 '19

Genetic Programming with GPUs (2011) [PDF]

Thumbnail cs.ucl.ac.uk
2 Upvotes

r/GeneticProgramming • • Sep 11 '19

What does raw data look like? (Symbolic regression)

2 Upvotes

I have a table full of data and I figured that to find a relationship between that data and a target value I could use symbolic regression, because it seems like finding relationships (formulas, equations, etc.) is what it's used for.

I've been experimenting with gplearn and DEAP in Python and while I've gotten them to work, I can't figure out what the raw data looks like or how to convert data in a table to the variables (X_train, y_train, X_test, y_test) that the scripts use.

Is it just a matter of importing a CSV file and then thr script works everything out? How does it know what to aim for, what the target is in that case?


r/GeneticProgramming • • Apr 06 '19

CorTeX Assembler Language Execution - A genetic primitive language for GP

Thumbnail tooltech-software.com
2 Upvotes

r/GeneticProgramming • • Apr 06 '19

The Duality - The relationship between GP and back propagation

2 Upvotes

I have written an article at Overload that shows some new findings how to accellerate back propagation in neural networks or even replace backprop with GP

https://accu.org/index.php/journals/2639

Would love to discuss


r/GeneticProgramming • • Jul 27 '18

Redundancy and Computational Efficiency in Cartesian Genetic Programming (2006)

Thumbnail
researchgate.net
2 Upvotes

r/GeneticProgramming • • Feb 14 '18

Evolving a Decompiler

Thumbnail storm-country.com
2 Upvotes

r/GeneticProgramming • • Oct 26 '17

Differentiable Genetic Programming

Thumbnail
arxiv.org
2 Upvotes

r/GeneticProgramming • • Sep 29 '15

Bump

2 Upvotes

Just wondering if there are still any active users here?