Terminé

Genetic Algorithm with Java_2

General Description:

Maximize f(X1, X2, X3) = (X1)^2 + (X2)^2 + (X3)^2 for -1.0 <= Xi <= 1.0, i = 1, 2, 3.

While creating the population, directly create it with bit string NOT decimal numbers. After selection, crossover, and mutation, decode the bit strings back to decimal numbers within given interval -1.0 <= Xi <= 1.0. And then evaluate the fitness with the given function. The following will give you the detail about this.

In this project, each gene on the chromosome will be 10-bit string. For example, (X1, X2, X3) = (0000000010, 1001100001, 1110011100) will be one of the individuals. Then, treat those bit strings with selection, crossover, and mutation. After those, you must convert (decode) the bit string (genes) back to decimal numbers, and then plug in to the fitness function to get the decimal fitness. After the conversion, the genes (X1, X2, X3), need to be within the constraint of -1.0 <= Xi <= 1.0, i = 1, 2, 3. The next paragraph will tell you how to decode the bit string. The population size will be 20 individuals. That is, the goal is to find values of X1, X2, and X3 (in the given interval) that will cause f(.,.,.) to have the maximum value. Use proportional selection, single-point crossover, and bit-wise mutation. For the mutation method this time, just simply flip the bit if need to perform the mutation.

Decoding Method:

As the description above, each gene Xi is -1.0 <= Xi <= 1.0. Therefore in binary bit string, we set 0000000000 <= Xi <= 1111111111. From 0000000000 to 1111111111, they can represent 1024 numbers. From -1 to 1, the range is 2 so that 2/ 1023 = 0.001955, which means:

0000000000 = (-1)dec,

0000000001 = -1 + 0.001955 * 1 = (-0.99845)dec,

0000000010 = -1 + 0.001955 * 2 = (-0.99609)dec,

1111111111 = -1 + 0. 0.001955 * 1023 = (0.999965)dec

Use the decimal numbers converted from bit strings to evaluate the fitness function to get the fitness, so the fitness will be the decimal number also.

Use the following parameter values:

N (Population Size) = 20; pc (Crossover Rate) = 0.6 to 1.0; pm (Mutation Rate) = 1/30; max generations (for use as a stopping condition) = 50.

For each of three “typical” single runs, report the following:

At intervals of 10 generations, the best and the worst fitnesses in the current generation and the corresponding X-vectors; the average fitness of all the members of the current generation; the best-of-run solution (the vector and its fitness).

Next, collect data on 30 independent runs, and then report, at intervals of 10 generations, the following averages (and the corresponding standard deviations) over 30 items: the best-of-generation fitness, the average-of-generation fitness, the best-of-run fitness. That is, these three quantities are each an average of 30 values.

Compétences : Algorithme, Java

en voir plus : genetic algorithm java code, genetic algorithm project code java, project genetic algorithm java, genetic algorithm prisoner dilemma java, genetic algorithm svm java, explain genetic algorithm code java, simulator genetic algorithm java, genetic algorithm source code java, genetic algorithm project java, hello world genetic algorithm java, graph partition genetic algorithm java, genetic algorithm java project, genetic algorithm java working, example genetic algorithm java, genetic algorithm java

Concernant l'employeur :
( 1 commentaire ) Saint louis, United States

Nº du projet : #16718595

Décerné à:

CPythonMan

Helllo I am a java expert. Android has worked for many years as well. I work on this site for the first time, but i can do it. If you award me your work, I will help you finish your work in a very short time and co Plus

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 3 jours
(3 Commentaires)
2.9

6 freelance font une offre moyenne de $193 pour ce travail

muhammadawab1293

Dear Client I have experience working in Java and android mobile development i can surely get this project done for you i think you should give me chance Client Satisfaction is my Top Priority I hope i wont disapp Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(27 Commentaires)
4.5
kil1967

Hello Client I like to solve algorithm problems. Let's discuss the project via chat more detail Thanks for your time Best Wishes Jin

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(5 Commentaires)
3.7
amitbanerjee2812

Dear Hiring Manager, I read your job description and I am confident that I can exceed your expectations as you mention that your job is related to Genetic Algorithm with Java_2 and i assure you that i can achieve Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(2 Commentaires)
3.2
mzdesmag

Hello, I have read the details of the project and I can complete it as required with mu=y experience on it. Kindly check my profile https://www.freelancer.com/u/mzdesmag to see my past works and reviews. Thanks

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(4 Commentaires)
3.0
Devesh23

Hello, How you doing over there? I have seen your project requirement and I believe that it matches from skill set. I have my expertise in Java and I have been creating projects in other languages like C, C++ so I k Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)
0.0