genetic-algorithm

how to implement non uniform probability distribution?

纵饮孤独 提交于 2019-11-28 10:34:57
I am trying to implement non-uniform probability distribution in genetic algorithm. In the implementation of genetic program, I have an experiment which has 3 outcomes, where each outcome has different probabilities. Let say, probablity of one outcome is 0.85, other is 0.01 and last one is 0.14? P.S: i recently came to know that it is called non-uniform distribution of probability. I'm implementing it in Java, can anyone tell the theory behind non-uniform prob. distribution & also any Java packages implementing it. Feel free to ask me know, if u need any more information on the problem! Thanks

Is there an efficient algorithm for segmentation of handwritten text?

依然范特西╮ 提交于 2019-11-28 07:13:11
I want to automatically divide an image of ancient handwritten text by lines (and by words in future). The first obvious part is preprocessing the image... I'm just using a simple digitization (based on brightness of pixel). After that I store data into two-dimensional array. The next obvious part is analyzing the binary array. My first algorithm was pretty simple - if there are more black pixels in a row of the array than the root-mean-square of Maximum and Minimum value, then this row is part of line. After forming the list of lines I cut off lines with height that is less than average.

Genetic Programming in C# [closed]

风格不统一 提交于 2019-11-28 02:49:58
I've been looking for some good genetic programming examples for C#. Anyone knows of good online/book resources? Wonder if there is a C# library out there for Evolutionary/Genetic programming? After developing my own Genetic Programming didactic application , I found a complete Genetic Programming Framework called AForge.NET Genetics . It's a part of the Aforge.NET library . It's licensed under LGPL. MSDN had an article last year about genetic programming: Genetic Algorithms: Survival of the Fittest with Windows Forms I would recommend against actually generating assemblies unless you

What is Crossover Probability & Mutation Probability in Genetic Algorithm or Genetic Programming?

≯℡__Kan透↙ 提交于 2019-11-27 20:54:08
问题 What is Crossover Probability & Mutation Probability in Genetic Algorithm or Genetic Programming ? Could someone explain them from implementation perspective! 回答1: Mutation probability (or ratio) is basically a measure of the likeness that random elements of your chromosome will be flipped into something else. For example if your chromosome is encoded as a binary string of lenght 100 if you have 1% mutation probability it means that 1 out of your 100 bits (on average) picked at random will be

How to choose an integer linear programming solver?

倖福魔咒の 提交于 2019-11-27 15:39:16
问题 I am newbie for integer linear programming. I plan to use a integer linear programming solver to solve my combinatorial optimization problem. I am more familiar with C++/object oriented programming on an IDE. Now I am using NetBeans with Cygwin to write my applications most of time. May I ask if there is an easy use ILP solver for me? Or it depends on the problem I want to solve ? I am trying to do some resources mapping optimization. Please let me know if any further information is required.

Crossover operation in genetic algorithm for TSP

杀马特。学长 韩版系。学妹 提交于 2019-11-27 14:53:29
问题 I'm trying to solve the Travelling Salesman Problem (TSP) with Genetic algorithm. My genome is a permutation of a vertex in graph (path for salesman). How should I perform the crossover operation over my genomes? Where can I find implementations of my problem in C#? 回答1: You should check "Genetic Algorithm Solution of the TSP Avoiding Special Crossover and Mutation" by Gokturk Ucoluk. It gives an overview of the special crossover operators for permutations and proposes a clever representation

Making my own photo-mosaic app with Qt using C++

丶灬走出姿态 提交于 2019-11-27 12:31:44
This is the output of what I have done till now: Although this shows only black and white images, the code works for color images too. The code basically populates the larger image using smaller images from a small database. So this is where I am stuck, rather clueless. How can I get an effect like this one. or this one . Qn1 : I need to take another input(large) image*(One for which the effect is to be seen)* and merge them, but how? Qn2 : How can I evaluate the goodness of the photo-mosaic? I have a genetic algorithm written for this but am unable to fix the fitness function,(mutation and

Genetic algorithm resource [closed]

拟墨画扇 提交于 2019-11-27 09:01:04
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Lately I'm interested in the topic of genetic algorithms, but I couldn't find any good resource. If you know any good resource, book or a site I would appreciate it. I have solid knowledge of algorithms and Artificial Intelligence but I'm looking for something with good introduction in Genetic Programming. 回答1:

Genetic Programming in C# [closed]

不打扰是莪最后的温柔 提交于 2019-11-27 04:59:04
问题 I've been looking for some good genetic programming examples for C#. Anyone knows of good online/book resources? Wonder if there is a C# library out there for Evolutionary/Genetic programming? 回答1: After developing my own Genetic Programming didactic application, I found a complete Genetic Programming Framework called AForge.NET Genetics. It's a part of the Aforge.NET library. It's licensed under LGPL. 回答2: MSDN had an article last year about genetic programming: Genetic Algorithms: Survival

how to implement non uniform probability distribution?

感情迁移 提交于 2019-11-27 03:49:02
问题 I am trying to implement non-uniform probability distribution in genetic algorithm. In the implementation of genetic program, I have an experiment which has 3 outcomes, where each outcome has different probabilities. Let say, probablity of one outcome is 0.85, other is 0.01 and last one is 0.14? P.S: i recently came to know that it is called non-uniform distribution of probability. I'm implementing it in Java, can anyone tell the theory behind non-uniform prob. distribution & also any Java