A) Using the Genetic algorithm approach – reproduction crossover and mutation technique, determine the number of guesses that will enable you arrive at the following secret string of genes:
101010

Assume that four strings selected randomly as shown below have been initially presented to your opponent
A. 010100 = 1 digit correctly guessed
B. 111101 = 2 digit correctly guessed
C. 011011 = 3 digits correctly guessed
D. 101100 = 4 digits correctly guessed

(20 marks)

b) Genetic algorithms are said to be similar to a biological process.
Discuss. (5 marks)

Answers

Answer 1

Explanation:

To respond to this story,

get the free Medium app.

Open in app

Christopher Scheidel

Christopher Scheidel

over 3 years ago

Great introduction for those new to GAs. I’ve been working with GAs for about 19 years now and another way that my business partner and I have represented them is as binary trees. With this concept you can think of mutation as “leaf replacement” or…...

Read More

18

2 replies

Reply

Jeff Flynt

Jeff Flynt

over 3 years ago

Coming from a microbiology background I understand the biology portion, but can you provide a real world problem that this can be applied to? I see you mentioned search, but can you go into more details?

23

4 replies

Reply

Dan Lovy

Dan Lovy

about 3 years ago

13

1

Very nice article. I have just completed a GA project that applies this to neural simulation —

Eranga Heshan

Eranga Heshan

over 3 years ago

Wow… Need to run the code see by myself O:)

12

1 reply

Reply

Anuradha Wickramarachchi

Anuradha Wickramarachchi

over 3 years ago

Excellent piece of work!!

11

1 reply

Reply

mem ento

mem ento

about 1 year ago

21

2

Hello Ms Mallawaarachchi,

Very nice article !

Germán Meléndrez Carballo

Germán Meléndrez Carballo

over 3 years ago

I think that a very valuable resource/reference you can provide is the book: Introduction to evolutionary computing, 2nd edition, A. E. Eiben & J. E. Smith.

57

1 reply

Reply

Wenderson Júnio

Wenderson Júnio

about 3 years ago

Awesome ! Very well explained ! Thanks for sharing.

11

1 reply

Reply

Dip Patel

Dip Patel

over 3 years ago

Great Post!!

Can you do more deeper into Evaluation Strategies in next post ?

10

1 reply

Reply

Arun Prasad T S V

Arun Prasad T S V

over 3 years ago

Hello!

Please share the coding for creating cryptography (encryption,decryption) using genetic algorithm.

with regards,

T.S.V.ARUNPRASAD

10

1 reply

Reply

You have 2 free member-only stories left this month. Sign up for Medium and get an extra one

Introduction to Genetic Algorithms — Including Example Code

Vijini Mallawaarachchi

Vijini Mallawaarachchi

Jul 8, 2017·4 min read

A genetic algorithm is a search heuristic that is inspired by Charles Darwin’s theory of natural evolution. This algorithm reflects the process of natural selection where the fittest individuals are selected for reproduction in order to produce offspring of the next generation.

Image for post

Notion of Natural Selection

The process of natural selection starts with the selection of fittest individuals from a population. They produce offspring which inherit the characteristics of the parents and will be added to the next generation. If parents have better fitness, their offspring will be better than parents and have a better chance at surviving. This process keeps on iterating and at the end, a generation with the fittest individuals will be found.

This notion can be applied for a search problem. We consider a set of solutions for a problem and select the set of best ones out of them.

Five phases are considered in a genetic algorithm.

Initial population

Fitness function

Selection

Crossover

Mutation

Initial Population

The process begins with a set of individuals which is called a Population. Each individual is a solution to the problem you want to solve.

An individual is characterized by a set of parameters (variables) known as Genes. Genes are joined into a string to form a Chromosome (solution).

In a genetic algorithm, the set of genes of an individual is represented using a string, in terms of an alphabet. Usually, binary values are used (string of 1s and 0s). We say that we encode the genes in a chromosome.

Image for post

Population, Chromosomes and Genes


Related Questions

the risk of heart disease, type II diabetes, heart attacks and strokes can be reduced by: a. improving flexibility
b. Improving cardiorespiratory endurance
c. Improving muscular strength
d. Improving muscular endurance

Answers

b. Improving cardio respiratory endurance
The answer is B) improving cardio respiratory endurance

What equipment can you use in your house to make a game? Please explain the game and equipment that you would use to create a game? Be creative with this answer.

Answers

Answer:

You could make a floor is lava game with pillows or you could make scavenger hunt with things around your house or you could take a picture of a part of your house and guess what it is

Explanation:

Which statement below is TRUE about the function of pheromones?
1 poin
pheromones are secreted by the thyroid and produce insulin
pheromones are released into the environment rather than being held within the body
tissues
female pheromones tell males which females have compatible immune systems
O none of the above statements are true

Answers

The correct answer is B. Pheromones are released into the environment rather than being held within the body.

Explanation

Pheromones are chemical substances secreted by living beings, in order to cause specific behaviors in other individuals of the same species. They are a means of transmitting volatile signals produced in liquid form, which are then dispersed throughout the environment. This is used by different species of plants and animals as a means of communication and almost all send one or more codes by this means, both to attract or reject each other sexually as well as for other purposes. According to the above, the correct answer is B. Pheromones are released into the environment rather tan being held within the body.

why do people have headaches?

Answers

Answer:

it can be a lot of things but 2 of the biggest things are dehydration and stress.

Explanation:

most ppl dont drink enough water ;-;

Select the answer that best represents the effect a warm-up has on the body. (2 points) Group of answer choices
Decreases your internal body temperature
Decreases your heart rate
Increases your internal body temperature Increases the likelihood of a strain or sprain

Answers

The last one is correct
Your answer is the last one for sure

What do the deformed Erythrocytes do?

Answers

It carries oxygen and nutrients to your body’s tissues and organs. But if they are irregularly shaped they may not be able to carry enough oxygen.

HELP PLEASE!! ILL GIVE BRAINLIEST
21. Why is there no single set of norms that everyone follows?

It is not clear what the norms are.

People and situations are very diverse.

There must be a similar religion to have a single set of norms.

Norms are the same as laws, and some people don't follow laws.

Answers

Answer:

People and situations are very diverse.

Explanation:

Describe one adverse health-related outcome (i.e., chronic disease, infectious disease, injury, drug abuse, mental health conditions) that is preventable.

Answers

Answer:

Drug abuse is preventable because, if you don't use drugs or only use the amount that is suppose to be used by doctors orders then you wouldn't abuse them.

Explanation:

Hope this helps! Please consider marking brainliest! I hope you have an amazing day. Always remember, your smart and you got this! -Alycia :)

How many sets do you have to win to win a match? A. 1 out of 2 B. 2 out of 3 C. 3 out of 4 D. 4 out of 5 (Its about tennis...)

Answers

Answer:

2 i think

Explanation:

i searched it up

Which of the following would be considered
healthcare environments? Check all that apply.
hospital
hospice
local gym
long-term care facility
patient's home

Answers

Answer:

hospital

local gym

long-term care facility

patient's home

Explanation:

none

Hospitals, hospice and long-term care facility would be considered healthcare environments.

Why healthcare environments are important?

The term healthcare setting represents a broad array of services and places where healthcare occurs, including acute care hospitals, urgent care centers, rehabilitation centers, nursing homes and other long-term care facilities, specialized outpatient services.

Healthcare Environment has a proven track record of creating relevant models for healthcare organizations that produces true predictive analytics. The result has been millions of dollars saved in operational costs while improving quality of care.

It consists of three categories: health impacts, air quality, and water and sanitation. The health impacts category includes the environmental risk exposure indicator.

Learn more about healthcare environments:

https://brainly.com/question/29989728

#SPJ5

The food guide pyramid shows the suggested range of daily servings from each
of the 5 major food groups
True
O False

Answers

i think it’s true!!:)

Where are all the smart people at answer my questions I give brainiest !!!

Answers

What do you need help with

A 68-year-old mechanic presents to the emergency room for shortness of breath. You are concerned about a cardiac cause andmeasure his jugular venous pressure (JVP).

Answers

Answer:

I'm they taught me a little bit so maybe his lungs were to weak for all that work

PLEASE HELP!! i’ll give brainliest!!
15. The author includes the fact that medical expenses are the leading cause of bankruptcy

to illustrate bankruptcy is a serious problem in the United States.

paying for health care can be
very difficult for families.

many people don't have access to health care.

Answers

Answer:

B.) paying for health care can be  very difficult for families.

Explanation:

From the information I have here, I assume its B because paying for healthcare being a challenge to families would line up with being the leading cause of bankruptcy.

Which system can a pathogen enter in order to circulate through the body?
A.the kidneys


B.the lungs


C.the lymphatic system


D.the waste system

Answers

C. Is the correct answer!

Can you help me with this it’s due in 30 minutes!!!!!

Answers

Answer:

Explanation:

I can't tell what two of them are, but I have the rest.

Answer:

dMCS

Explanation:

Select the correct answer.
Walking logs can help you see where you have been and where you are going.
A.
True
B.
False

Answers

Answer:

A. True

Explanation:

This is since they can track your location and can also predict your future destination by understanding the route you have taken.. possibilities are numerous

How does Bruno further develop his claim about animal welfare? 20 POINTS PLEASE HURRY!

He uses a news article.
He uses a study.
He addresses a counterclaim.
He uses a quote.

Answers

Answer:

I think it is C!

Explanation:

Hope this helps have a nice day! :DDDDDDD

The esophagus transports food from the
stomach to the small intestine,
O small intestine to the stomach,
O mouth to the stomach.
small intestine to the mouth,

Answers

the esophagus connects and transports food from the pharynx to the stomach

(pharynx is close to mouth, so id say mouth to stomach.)

Amber has low levels of serotonin in her brain. What symptoms is she most likely to have?

Answers

Answer:

-anxiety

-depressed mood

-aggression

-impulsive behavior

-insomnia

-low self-esteem

-irritability

-poor appetite

4. Brandon's grandfather died 8 months ago. Which of the following would make you suspect that Brandon may be suffering from abnormal grieving?

A. He takes care of a tree he planted to honor his grandfather's memory

B. He said that Christmas was awful this year because
grandfather wasn't there.

C. He is sad much of the time and has not rejoined his favorite activities.

D. He tells you about good memories he has of the times he and his grandfather went fishing.

Answers

Answer:

c

Explanation:

This is known as complicated grief, sometimes called persistent complex bereavement disorder

As Brandon was sad much of the time and has not rejoined his favorite activities which indicates that Brandon may be suffering from abnormal grieving. The correct option is C.

What is grieving?

Grief is a natural and normal reaction to loss. Though we usually expect to be saddened by the loss of a family member or companion, many other massive losses can cause grief. Here are some examples: The breakdown of a relationship.

Grief has a variety of physiological effects, including inflammatory processes, joint pain, fatigue, and digestive issues.

It can also reduce your immunity, making you more prone to illness. Grief can also lead to cardiovascular problems, insomnia, and unhealthy coping mechanisms.

Depression is typically the most difficult and prolonged stage of grief.

As Brandon's grandfather died 8 months ago, he is sad much of the time and has not rejoined his favorite activities. This implies that he may be suffering from abnormal grieving.

Thus, the correct option is C.

For more details regarding grieving, visit:

https://brainly.com/question/14517106

#SPJ2

2. Which BEST explains why it is important to address body image issues?
They are more about perception rather than reality,
Everyone has them, but most people get over them.
They can have long-term mental and physical health effects.
Body image issues are usually based on positive experiences,

Answers

Answer: They can have long-term mental and physical health effects.

This is because some people with body image issues tend to dislike themselves, and therefore they can end up doing things that can harm themselves just to make themselves look better. It can be very dangerous, as well. Knowing that it can cause the person with body image issues to become anorexic or bulimic.

It is important to address body image issues as they can have long-term mental and physical health effects. The option C is correct.

What is the reason behind image issue?

This is because some people with body image issues tend to dislike themselves, and therefore they can end up doing things that can harm themselves just to make themselves look better. It can be very dangerous, as well. Knowing that it can cause the person with body image issues to become anorexic or bulimic.

Mental imagery means pictures in the mind or what one is visualizing. Mental imagery is caused by mental images in the mind of a person. But it is different from perceptual images (images from perception) because mental images occur when there is no external stimuli.

Images from perception are a result of some external stimuli. But it is different from perceptual images (images from perception) because mental images occur when there is no external stimuli.

Therefore, It is important to address body image issues as they can have long-term mental and physical health effects. The option C is correct.

Learn more about physical health on:

https://brainly.com/question/13513890

#SPJ2

Shira made a study chart before taking an exam.
Urinary System
Term
Description
Renin
An enzyme that activates angiotensin,
raising blood pressure
Aldosterone
A hormone that is released in response
to stress
Calcitriol
A form of vitamin D that helps maintain
calcium balance
Enzyme
A protein that can speed up a chemical
reaction
Which statement best describes how to correct the error in Shira's chart?
o Change the spelling of “renin” to “renen.”
O Change the description of aldosterone to "a hormone that helps raise blood pressure."
O Change the spelling of “calcitriol” to "calctriole."
O Change the description of enzyme to "a molecule that gains electrical charge in water"

Answers

Answer:

Change the description of aldosterone to "a hormone that helps raise blood pressure."

Answer:

b

Explanation:

edge 2020

Is a live pathogen introduced into the body in a vaccinations?

Answers

Answer:

During a vaccination, the body is introduced with a weaker, asymptomatic form of a virus. This pathogen will not spread or cause any sickness because it is so weak but the body will learn and recognize in the future the same pathogen non the less. The body still learns to fight the pathogen even if it is weak like in the vaccine.

How long can the acute grieving stage of grief last

A. Less than 6 months
B. A year or more
C. 4-6 weeks

Answers

Usually it's 6-8 weeks but it can take anywhere from 6months to 4 years so i'd go with B) A year or more

After the championship basketball game, a player complains of swelling and pain in her left knee. What type joint would most likely be affected in the injury

Answers

Answer:

i think it would be the h.inge joint lol

Explanation:

7. A structure made up of collection of tissue that carries out a specialized function is called an

Answers

i think organ is the correct answer

While walking down the hallway, you give your professor a high-fiveWhich branch of the nervous system did you use?

Answers

Answer:

You used physical coordination to do so

Explanation:

This is since your Nerves, spine and Brain were in balance or were coordinating together.

How are local parks usually funded ?
A; Federal taxes
B; State taxes
C; property taxes
D' sales taxes

Answers

The answer would be sales taxes

Hope this helps

Have a great day/night

TRUE / FALSE
Failing to diagnose a disease early enough can interfere with effective treatment.

Answers

Answer:

true

Explanation:

Answer: True

Explanation:

Other Questions
Toni rows a boat 4.5 km/h upstream and then turns around and rows 5.5 km/h back downstream to her starting point. If her total rowing time is 48 min, for how long does she row upstream? Express your answer to the nearest minute.A. about 30 minB. about 26 minC. about 44 minD. about 24 min identify the location of each element group on the periodic table. *GET 30 POINTS IF YOU ANSWER* NEED ASAP! Three students were given the expression shown to simplify. Use the drop-down menus to complete the statements about whether each student's answer is an equivalent expression. Then choose an expression that is equivalent. Read these lines from "Hold Fast Your Dreams."And sheltered so,May thrive and growWhat does the word thrive mean as used in the poem?flourishshareconquerwither Nerve labeling help meee plsss What is the volume of this rectangular pyramid?9 mm7 mm7 mm Served as military commander and governor of the area that is present day LaredoLed Spain's expansion efforts into South TexasSent Settlers to the land between Rio Grande and Nueces River16. Who is described above?IF. Fray Damin MassanetG. Jos de EscandnH. Antonio Margil de JessJ. Francisco Hidalgo PLZ CAN YOU EXPLAIN HOW YOU SOLVED THE ANSWERS 1) Find the mean 12,13,15,15,16,19,19,19,20,21,25A) 17.64B) 19C) 152) find the mean 42,53,54,55,59,59,60,63,65,67,70,71,73A) 60B) 59C) 60.853) find the mean 6,6,8,7,10,14,13,6,5,7,8,10,13,6,7A) 6B) 8.4C) 7 A student asks the following question:"If all things with mass have a gravitational field, why doesn't this glue bottle andstapler, sitting on the counter, stick together because of gravitational forces?"Which classmate answers correctly?Ashton says that the gravitational fields between the bottle and the staplercancel out because of Newton's 3rd Law.O Natalie says that all things with mass have a gravitational field, but the force isvery weak and cannot be perceived around small objects.Xavier says the bottle and the stapler are way too small to have a gravitationalfield.Katherine says the bottle and the stapler have a strong gravitational field, andwould move towards each other quickly if there were no friction on the counter. WHOEVER ANSWERS FIRST GETS BRAINLIEST AND 100 POINTS 0.1*20000-0.05*28800 The accepted value for the free-fall acceleration on Earth's surface is 9.80665 m/s2Which of the following measurements is the most accurate? Question 1(2 points)What is capitalism? (4 points)aA free market system in which people go into business to make a profitbA free market system in which government sets prices and earns profitcA system in which businesses are owned in common or by the governmentdA system in which businesses and all property are owned by the government 11. Sara borrowed *60,000 from a money lender at 15% rate of interest per annum. What isthe interest she paid after 4 years? Helpppppppppppppppppppppppppppp what are the differece between facts theory and hypothesis in scientific ex'p PLS HELP asap!! will mark brainliest:ONLY !!! if youve read the story flies and spiders chapter 8 excerpt answer these questions question 1. what is the meaning of the word state as it is used in paragraph 7 a. territoryb.stagec.conditiond.compositionquestion 2. what is the authors purpose for ordering the events as he does in paragraph 7a. it advances the plot in the passageb. it creates a heightened moment of suspensec. It reveals the different perspectives of the characters.d. it emphasizes the impact the forest has on the characters According to the Article, how were the research studies from Birmingham, Alabama, and the United Kingdom similar? Sebastian bought snacks for his team': practice. He bought a bag of popcorn for $1.68 and a 15-pack of juice bottles. The total cost before tax was $21.78. Write and solve an equation which can be used to determine x, how much each bottle of juice costs? help appreciated. How many hours of training would you need to have a salary of $2,000? Order from least to greatest 5; -2; -10; -1PLEASE ANSWER THISSS!!!!