Questions tagged [genetic-programming]

Genetic programming (GP) is a specialization of evolutionary computation where each individual is a computer program. It is used to optimize a population of computer programs according to a fitness landscape determined by a program's ability to perform a given computational task.

Genetic programming (GP) is a type of where each individual in a population is a computer program. It is used to optimize a population of computer programs according to a fitness landscape determined by a program's ability to perform a given computational task.

Traditional genetic programming, originally popularized by John Koza, represents code as expression trees, but this topic also includes other systems in which code evolves.

See also: , which refers to evolution-inspired algorithms in which an abstract representation of the solution is being evolved, rather than code itself.

347 questions
-1
votes
1 answer

Large Datsample: failing to better visualize data point using matplotlib plot

The size of the data samples is very large, making it difficult to visualise the data points using a matplotlib plot. Sample Code: import matplotlib.pyplot as plt plt.plot(myList_timestamps, myList_fitnessValues) plt.xlabel('Timestamps…
user20417691
-1
votes
2 answers

Genetic programming for objective / fitness function determination

I hope this question is appropriate. I'm looking for a solution to an genetic program implementation I have in my mind, but I'm still new to AI and have no clue where / how to solve the problem in mind. So I recently started experimenting with…
Paul
  • 756
  • 1
  • 8
  • 22
-1
votes
1 answer

Can the Java Genetic Algorithm fitness function be non static?

I wanted to remove the static key word from my code. But in the fitness function method it gives me an error. Is the static key-word is essential in the fitness function method? Here is the code which gives me an error. public void optimize() { …
-1
votes
1 answer

find minimum of math function with genetic algorithm in matlab, I know matlab have toolbox for GA but I want achieve it programmatically

find minimum of math function with genetic algorithm in matlab What modification are needed in this files-main.m? global population; global fitness; global popsize; format…
-1
votes
1 answer

Genetic algorithm(finding expression using digits and operators)

I have the following genetic programming problem(Homework): I need to use 5 digits (0 to 9) and any operators(+,-,*,/) to generate a expression to give me the answer as 30. Can anyone please explain how can I go about solving this using genetic…
-1
votes
1 answer

most economical path for sewer design

Can you help me in Establishing an Optimization Model for Sewer System Layout with Applied Genetic Algorithm
Anshul
  • 11
-1
votes
2 answers

Genetic Algorithm / AI; basically, am I on the right track?

I know Python isn't the best idea to be writing any kind of software of this nature. My reasoning is to use this type of algorithm for a Raspberry Pi 3 in it's decision making (still unsure how that will go), and the libraries and APIs that I'll be…
-1
votes
1 answer

using genetic algorithms to improve voice commands recognition c#

I'm using "system.speech" library to recognize voice commands, but I want to use genetic algorithms to improve recognition, and I'm new to GAs and I've some questions: How to implement this (what is the population in this situation? the genomes..)…
Scott
  • 41
  • 1
  • 6
-2
votes
1 answer

Find the minimum of "y=x*x" using genetic algorithm in Matlab

Would somebody help me please in this question. I'm new in Matlab... And it's a bit hard for me to understand how to create and use genetic algorithm in Matlab. If anybody could help to write some very simple code for searching minimum/maximum of…
-2
votes
1 answer

genetic algorithm improvement

1-probability that an individual Route will mutate 2-Population size of 1 generation (RoutePop) 3-Size of the tournament selection. In the genetic algorithm, how can I select these three elements (2-2-3) to get the optimal solution out of the…
-2
votes
1 answer

Genetic Algorithm_Grady et al., Moseti et al.,

I have reproduced the work of Grady et al, with the wind in single direction and multiple direction. I have not obtained similar layout though same power(kW/year) I was wondering if using the case objective function in Genetic Agorithm in Matlab…
fredd
  • 39
  • 1
  • 2
  • 8
-2
votes
1 answer

Difficulties in representing domain in genetic algorithm

I have a following problem - I have a rule engine (drools) that evaluates risk score of transactions.If risk is too high (>200) then it is marked as unsafe. Each rule has their weight (1-100) that is assigned to risk score if rule gets executed. I…
-2
votes
1 answer

in genetic algorithm, How to deal with binary representation of constraints of functions?

For example, 0<=x<=31, the length of binary form of 31 is 5, since 31=11111 in base 2. However, how to deal with, say, 0<=x<=25, if I keep length 5, numbers like 11110(30) may be generated, which exceeds 11001(25). I wonder if there is a mapping…
law_light
  • 59
  • 3
-2
votes
2 answers

Can you propose to me two programs to make as project for my evolutionary computing class?

My teacher wants us to make two projects, but we haven´t seen many topics and I don´t have very clear what evolutionary computing is used for. Can you give me some ideas, please?
-2
votes
1 answer

Why is my genetic mutation code not retuning the entire gene? Java

https://i.stack.imgur.com/KOIky.png /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package parentmutation; import java.util.ArrayList; import java.util.Random; /** * * @author Renter …
1 2 3
23
24