genetic-algorithm

NSGA-II ( Non- Dominating Sorting Algorithm )

橙三吉。 提交于 2019-12-05 05:27:09
问题 I have studied about Non dominating sorting algorithtm (nsga-II). Algorithm is given on this link . http://church.cs.virginia.edu/genprog/images/2/2f/Nsga_ii.pdf I want to know it's real life application with examples.....I tried to search on the internet ,but no where found it. If you have any ideas or relevent data/link ,please share with me. 回答1: You can find some real-life applications by just searching : "NSGA-II + applications" in Google Scholar : http://scholar.google.com/scholar?start

How can I prevent my program from getting stuck at a local maximum (Feed forward artificial neural network and genetic algorithm)

南笙酒味 提交于 2019-12-05 04:10:32
问题 I'm working on a feed forward artificial neural network (ffann) that will take input in form of a simple calculation and return the result (acting as a pocket calculator). The outcome wont be exact. The artificial network is trained using genetic algorithm on the weights. Currently my program gets stuck at a local maximum at: 5-6% correct answers, with 1% error margin 30 % correct answers, with 10% error margin 40 % correct answers, with 20% error margin 45 % correct answers, with 30% error

Genetic algorithms: evolving behaviour

≯℡__Kan透↙ 提交于 2019-12-05 03:44:13
问题 I'm looking for material on using genetic algorithms to evolve algorithmic behaviour/decision strategies, rather than parametric values. I can't find much. Could someone please point me in the right direction? Links would be awesome, but I guess I'd be okay with search keywords, technichal terminology I don't know about and should be looking for, etc. 回答1: As Gordon Murray Dent said, when evolutionary programming is used to create functions, it's generally referred to as "genetic programming"

genetic algorithm handling negative fitness values

牧云@^-^@ 提交于 2019-12-05 03:41:51
I am trying to implement genetic algorithm for maximizing a function of n variables. However the problem is that the fitness values can be negative and I am not sure about how to handle negative values while doing selection. I read this article Linear fitness scaling in Genetic Algorithm produces negative fitness values but it's not clear to me how the negative fitness values were taken care of and how scaling factors a and b were calculated. Also, from the article I know that roulette wheel selection only works for positive fitness value. Is it the same for tournament selection as well ?

Genetic algorithms: fitness function for feature selection algorithm

随声附和 提交于 2019-12-05 03:16:21
I have data set n x m where there are n observations and each observation consists of m values for m attributes. Each observation has also observed result assigned to it. m is big, too big for my task. I am trying to find a best and smallest subset of m attributes that still represents the whole dataset quite well, so that I could use only these attributes for teaching a neural network. I want to use genetic algorithm for this. The problem is the fittness function. It should tell how well the generated model (subset of attributes) still reflects the original data. And I don't know how to

Linear fitness scaling in Genetic Algorithm produces negative fitness values

纵饮孤独 提交于 2019-12-04 19:19:29
I have a GA with a fitness function that can evaluate to negative or positive values. For the sake of this question let's assume the function u = 5 - (x^2 + y^2) where x in [-5.12 .. 5.12] y in [-5.12 .. 5.12] Now in the selection phase of GA I am using simple roulette wheel . Since to be able to use simple roulette wheel my fitness function must be positive for concrete cases in a population, I started looking for scaling solutions. The most natural seems to be linear fitness scaling . It should be pretty straightforward, for example look at this implementation . However, I am getting

Algorithm for rating the monotonicity of an array (i.e. judging the “sortedness” of an array)

我们两清 提交于 2019-12-04 18:56:41
问题 EDIT : Wow, many great responses. Yes, I am using this as a fitness function for judging the quality of a sort performed by a genetic algorithm. So cost-of-evaluation is important (i.e., it has to be fast, preferably O(n) .) As part of an AI application I am toying with, I'd like to be able to rate a candidate array of integers based on its monotonicity, aka its "sortedness". At the moment, I'm using a heuristic that calculates the longest sorted run, and then divides that by the length of

Writing Simulated Annealing algorithm for 0-1 knapsack in C#

Deadly 提交于 2019-12-04 13:45:35
I'm in the process of learning about simulated annealing algorithms and have a few questions on how I would modify an example algorithm to solve a 0-1 knapsack problem. I found this great code on CP: http://www.codeproject.com/KB/recipes/simulatedAnnealingTSP.aspx I'm pretty sure I understand how it all works now (except the whole Bolzman condition, as far as I'm concerned is black magic, though I understand about escaping local optimums and apparently this does exactly that). I'd like to re-design this to solve a 0-1 knapsack-"ish" problem. Basically I'm putting one of 5,000 objects in 10

Image processing using genetic algorithm

一个人想着一个人 提交于 2019-12-04 13:29:32
问题 i want to see application of GA in image processing. I was not getting how to write the fitness function for any image. Say I have a image in grey scale,which is not very clear, now if I keep matching my generated solution with this picture value then how is my solution going to be better like better clearity increased contrast/brightness etc. 回答1: My favorite example of Genetic Algorithms in image processing is: http://rogeralsing.com/2008/12/07/genetic-programming-evolution-of-mona-lisa/ It

Roulette-wheel selection in Genetic algorithm. Population needs to be sorted first?

那年仲夏 提交于 2019-12-04 12:06:11
问题 In a genetic algorithm, when selecting members for crossover using roulette-wheel selection method, does the population first need to be sorted by fitness rank? The possibilities seem to be: sort population first by ascending fitness sort population by descending fitness don't sort population & let the roulette ball fall where it may.. I'm thinking that sorting either way may have no effect - a pebble landing at random on a wheel containing different sized (by fitness) slices will have