Questions tagged [genetic-algorithms]
The genetic-algorithms tag has no usage guidance.
57
questions
1
vote
1
answer
16
views
Are there any algorithm to generate a set of data that match some statistic requirements?
I was wondering if there are time-efficient algorithms that can reverse the process of basic statistics computation. What I mean is an algorithm that instead of computing the mean, SD, max-min range, ...
0
votes
0
answers
13
views
Initialization Methods for the first Population in genetic algorithm for solivng the multiple traveling salesman problem
I am trying to compare the performance of several initialization methods for genetic optimization to solve a multiple traveling salesman problem. I have already the implementations for random and ...
0
votes
0
answers
39
views
Implementation/Optimization of Genetic Algorithm
I have a few queries regarding my implementation of the Genetic Algorithm (GA).
I have a lot of parameters in which I have to find the best combination of these parameters to maximize the value of the ...
0
votes
0
answers
19
views
How to perform crossover between models of different sizes in deep genetic algorithms?
I'm working building a genetic algorithm that will learn to play snake. I've worked out how to add/remove layers and neurons in the model, allowing the model's size to change through mutation. But ...
0
votes
1
answer
55
views
Are genetic algorithms considered to be generative models?
My understanding is that these sorts of algorithms can evolve/mutate data to hone in on specific desirable areas in large/difficult to search parameter spaces. Assuming one does this successfully, how ...
3
votes
2
answers
434
views
Genetic Algorithms (Specifically with Keras)
I can't get my deep genetic algorithm snake game to work and I can't figure out why. At this point, I think it must be either the crossover_rate/mutation_rate or the actual crossover code itself is ...
0
votes
0
answers
16
views
how is grammatic evolution different from grammar-based genetic programming?
There are two closely related techniques in genetic programming. One of them is grammar based genetic programming (GBGP), which uses context free grammar to generate a derivative tree which represents ...
1
vote
0
answers
18
views
Is there a multi-modal population based metaheuristic that is non-GA?
I have a feature set from which I want to select various combinations and permutations of the features. The length of a solution feature vector can range between , say 5 - 20 features , and the ...
1
vote
0
answers
84
views
Best way to optimize problem with additively separable fitness function?
I am using a genetic algorithm to maximize a few hundred thousand real-valued variables.
Each of the variables, $x_i$, has its own independent boundary condition.
The fitness function uses each of ...
1
vote
0
answers
17
views
Framework for Genetic Algorithms on python [duplicate]
I'm trying to use a framework implemented in python to use GA (Genetic algorithms) and other related algorithms . But I'm not sure about what framework to use, I've found two interesting options Pymoo ...
0
votes
1
answer
101
views
Which Algorithm did OpenAI used to create a hide and seek playing Agent?
I just saw this video on youtube: https://www.youtube.com/watch?v=kopoLzvh5jY&t=9s
Which Algorithm did OpenAI used to create a hide and seek playing Agent?
Was it Genetic Algorithm or Policy ...
1
vote
1
answer
321
views
Are there any tree-based models that use a genetic algorithm to generate the trees?
I have a large dataset (195 features x 20m samples) that I have trained using XGBoost. I would like to see if a genetic algorithm can beat XGBoost since the data has so much noise it is prone to ...
2
votes
1
answer
65
views
On what principle did Google's DeepMind learn to walk?
I just saw this video on Youtube.
On what principle did Google's DeepMind learn to walk?
Was it Q-Learning or a Genetic Algorithm or Policy Gradient?
0
votes
1
answer
42
views
Drug Making Using Genetic Algorithms
I want to create a drug using N different chemicals for fighting a bacterial infection those N chemicals are contained inside the drug in different quantities my work environment is a simulated one ...
0
votes
2
answers
50
views
Why use gradient descent on Deep Nets / RNNs when cost function is not convex?
Why do we use gradient descent on very non-convex loss functions such as in Deep nets / RNNs rather than a heuristic search (genetic algorithms, simulated annealing, etc)?
1
vote
1
answer
74
views
Good chromosome representation in a VRPTW genetic algorithm
I have a genetic algorithm for a vehicle routing problem with time windows and I need to implement certain modifications. I am not sure what would be the best chromosome representations.
I have tasks ...
3
votes
1
answer
190
views
use genetic algorithm as a feature selection for text classification
how to apply the genetic algorithm as a feature selection for text classification in python
I need to use GA to select most relevant feature in text classification
7
votes
2
answers
676
views
Creating a generic mathematical formula using a genetic algorithm
Assuming all of the following;
I have 4 known numbers, all within a 0-400 range, like this:
...
2
votes
1
answer
145
views
Parameter initialization in a genetic algorithm
I'm using a neural network in a genetic algorithm. The neural network has 4 inputs (values between 0 and 1) and ...
2
votes
1
answer
98
views
How to select good inputs and fitness function to achive good results with NEAT for Icy Tower bot
I'm trying to make a bot to the famous "Icy Tower" game.
I rebuilt the game using pygame and I'm trying to build the bot using Python-NEAT.
Every generation a population of 70 characters tries to ...
0
votes
1
answer
113
views
How do I use matrix math in irregular neural networks such as those generated from neuroevolution (NEAT)?
I understand how to structure the matrix when every node in a layer is fully connected to every node in adjacent layers and I understand that in "irregular" neural networks I can just process each ...
1
vote
0
answers
12
views
Basket items optimisation minimising constraints
I have a real problem (not home work) when I have to distribute an ordered list by position to respect some constraints
eg.
1. 11
2. 15
3. 18
4. 18
5. 1
baskets:...
1
vote
0
answers
23
views
optimize integers using GA package
The GA package is a great package to use Genetic Algorithm for optimization. See for example this. I have a use case, where my possible values are integer (e.g. 1, 2, 4 ...). So far, I simply rounded ...
1
vote
1
answer
55
views
Genetic Optimization, Heuristic regarding choosing the number of generations and population size
I have a simple model with some fitness function that I'm trying to max out.
This model have ~20 variables, each about ~15 options.
Is there a heuristic formula or a study of some sort that can guide ...
3
votes
0
answers
224
views
Ising Spin Glass - Optimization
I'm a newbie researcher working on model-based genetic algorithms, mainly linkage learning in both discrete and continuous spaces, using data modeling. I would like to ask you about Ising Spin Glass (...
0
votes
1
answer
69
views
Genetic algorithm only using selection
Suppose you have a population of N individuals with fitness 1, 2, . . . , N (i.e., all individuals have a
unique fitness value). Suppose you repeatedly apply ...
1
vote
1
answer
107
views
Why GA convergence curves continue as two parallel lines?
I'm working on a optimization problem and using GA algorithm (in MATLAB, ga function).
As you know MATLAB plots GA result with two curves, one for the best values and other to show the mean values ...
1
vote
2
answers
54
views
Universal function approximation with fixed values (as vector or matrix)
I was thinking about way to represent/approximate universal function and came up with the idea that a plain fixed numbers could be used to represent pretty much any function on a fixed interval.
I ...
6
votes
3
answers
619
views
Genetic algorithms(GAs): to be considered only as optimization algorithms? Are GAs used in machine learning any way?
As a quick question, what are genetic algorithms meant to be used for? I read somewhere else that they should be used as optimization algorithms (similar to the way we use gradient descent to optimize ...
0
votes
1
answer
95
views
Genetic algorithms: what connection to support vector machine / naive bayes
I found the following list of seven classifiers:
Linear Classifiers: Logistic Regression, Naive Bayes Classifier
Nearest Neighbor
Support Vector Machines
Decision Trees
Boosted Trees
Random ...
0
votes
0
answers
32
views
Will it be more computationally expensive to have multipl 2d tensors or 1 3d tensor
Odd question but I am busy creating a Genetic Algorithm that optimizes the weights on a Neural Network instead of using good old fashion 1st-order optimization (Gradient/Adam)
What I have is x as a ...
4
votes
1
answer
76
views
Mutation on demand in genetic algorithms
genetic algorithm usually use a "mutation rate" to control the rate of chromosome mutation. Most of the researchers at researchgate recommend to keep this rate low in order to converge quickly, to be ...
1
vote
2
answers
2k
views
Python metaheuristic packages
I need to use a metaheuristic algorithm to solve an optimization problem on a Python codebase.
Metaheuristics usually need to be written in C++ or Java as they involve a lot of iterations, while ...
1
vote
1
answer
1k
views
What should I study to find optimal value of best feature combinations in machine learning?
I would like to do production optimization with machine learning and/or optimization problem.
My goal is not to find minimizing loss in loss function only to give the best y value. My ultimate goal ...
0
votes
1
answer
114
views
What's the correct form of use the real coded genetic algorithm?
I'm new to genetic algorithms, but I haven't found specific info about real-coded GA's. I want to do antenna array optimization by using the real values of antenna position, phase, and amplitude, but ...
1
vote
1
answer
367
views
What makes a problem good for an evolutionary strategy vs a genetic algorithm vs particle swarm optimization?
I understand that evolutionary strategies (ES), genetic algorithms (GA), and particle swarm optimization (PSO) are all algorithms used to solve optimization types of problems, but what might make an ...
1
vote
1
answer
86
views
In which cases should Genetic Programming be preferred over Artificial Neural Network trained with Genetic Algorithm
I am trying to understand Genetic Programming (GP) but I cannot think of any context where GP can be chosen over training Artificial Neural Networks with genetic algorithms.
What problems each of ...
14
votes
2
answers
1k
views
Why aren't Genetic Algorithms used for optimizing neural networks?
From my understanding, Genetic Algorithms are powerful tools for multi-objective optimization.
Furthermore, training Neural Networks (especially deep ones) is hard and has many issues (non-convex ...
0
votes
1
answer
610
views
What is new population in genetic algorithm?
Here is my (mis?)understanding of genetic algorithm:
Create n individuals. This is initial population
Calculate fitness of each individual in this population
...
1
vote
0
answers
943
views
Neuroevolution library/framework with GPU CUDA support
I'm looking for working library/framework allowing you to use neuroevolution algorithms like NEAT with GPU support (CUDA). Are there any working libraries? I know about AccNEAT library but I couldn't ...
2
votes
2
answers
159
views
Is deduction, genetic programming, PCA, or clustering machine learning according to Tom Mitchells definition?
Tom M. Mitchell defines machine learning as
A computer program is said to learn from experience E with respect to some class of tasks T and performance measure P if its performance at tasks in T, ...
1
vote
1
answer
2k
views
Is it possible to use NEAT networks for solving video games?
Sorry to start such an unspecific question, but I am slightly lost in the big topic.
My tutor proposed to chose neural networks for my final project, and we started by building a CNN for detecting ...
1
vote
1
answer
7k
views
How do I find the minimum value of $x^2+y^2$ with a genetic algorithm?
I want to find $(x,y)$ which minimizes $x^2+y^2$ with GA to apply it for another function.
Does anyone know any example of GA with deap (Python) like that?
1
vote
1
answer
50
views
Gene innovation numbers in NEAT implementatoins
In NEAT (neuroevolution through augmenting topologies) algorithm description, an innovation number, e.g. id, is assigned to each gene so that genomes can be crossed over meaningfully: genes having ...
2
votes
2
answers
4k
views
Can I have a neural network output values >100?
All the samples and articles i have seen are all having outputs of 1 or less. Is there a hidden reason why no one is using NN to produce higher value integers?? My situation is that I want NN to ...
3
votes
2
answers
497
views
Genetic neural network to satisfy variable number of inputs and outputs
I have what I propose as a solution to my problem, however I haven't ever seen it mentioned in this way, so I worry that there is a valid reason not to do things this way.
I have a dataset of > 100,...
1
vote
0
answers
45
views
How effective is Genetic Algorithm for finding Attribute-Value relationships
I am implementing a module which finds based on user interactions on an online portal to find which attributes of a certain product and what values for those products influence the buyer to choose the ...
0
votes
1
answer
486
views
selecting sample from population using genetic algorithm
I have a set of 31390 individuals with an associated weight (kg) and I want to select a number of them such that the maximum weight is 3000kgs and that the weight distribution around several variables ...
6
votes
1
answer
688
views
Checkers playing Neural Network evolved with Genetic Algorithm becomes too sensitive to input data changes
I recently embarked on a very ambitious project and I have to say it has turned out a lot better than I expected, I succeeded in coding from scratch a neural network that plays checkers at a very ...
8
votes
4
answers
7k
views
Which book is a standard for introduction to genetic algorithms?
I have heard of genetic algorithms, but I have never seen practical examples and I've never got a systematic introduction to them.
I am now looking for a textbook which introduces genetic algorithms ...