Find Jobs
Hire Freelancers

Genetic Algorithm with Java_2

$30-250 USD

V teku
Objavljeno pred približno 6 leti

$30-250 USD

Plačilo ob dostavi
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.
ID projekta: 16718595

Več o projektu

4 ponudb
Projekt na daljavo
Aktivno pred 6 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
4 freelancerjev je oddalo ponudbo s povprečno vrednostjo $139 USD za to delo
Avatar uporabnika
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 disappoint you with my work You can see my reviews for my previous work Hope to see you in chat soon for further details
$155 USD v 3 dneh
5,0 (35 ocen)
4,7
4,7
Avatar uporabnika
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
$111 USD v 1 dnevu
4,3 (16 ocen)
4,5
4,5
Avatar uporabnika
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 know exactly how to play with bits. Coming to my experience, I have total 6+ years of experience in doing professional and freelancer work. I assure you that if you will give me the opportunity to do this work for you then I promise you to deliever you the jewel. Please feel free to message me anytime. Thanks!!
$155 USD v 3 dneh
5,0 (5 ocen)
2,6
2,6

O stranki

Zastava UNITED STATES
Saint louis, United States
5,0
11
Plačilna metoda je verificirana
Član(ica) od okt. 27, 2015

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.