Preview

AI Assignment 2

Powerful Essays
Open Document
Open Document
1359 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
AI Assignment 2
UNIVERSITI TENAGA NASIONAL
ACADEMIC YEAR 2014/2015
ARTIFICIAL INTELLIGENCE
CSNB 234
ASSIGNMENT TWO

LECTURER : DR. ALICIA TANG YEE CHONG

Group Members:
1) DIVIYA A/P NADARAJAH SN093050
2) THIVIYA NADARAJ SN089841
3) JESJEET SINGH SW089804
4) FAREESH SAILESH TIMBADIA SW090964

QUESTION 1

(a) Genetic Algorithms were invented to mimic some of the processes observed in the evolutionary ideas of genetic and natural selection based on survival of the fittest. Explain each step of the Genetic Algorithm.

There are three main steps for genetic algorithm which is random initialization of population, evaluation of fitness function and generation of new population.

In random initialization of population, the initial population is created randomly with even number of individuals. An individual is characterized by a fixed-length binary bit string, which is called a chromosome. In evaluation of fitness function all the individuals of the initially created population are evaluated by means of a fitness function . The fitness function is then used in the next step, to create a genetic pool. After evaluating the fitness of the individuals of the initial population, a new population is created. The creation of a new generation is performed basically in three stages, reproduction, crossover and mutation. The overall goal of this step is to obtain a new population with individuals which have high fitness values.

In reproduction stage, the individuals are selected among the population depending on their fitness values i.e. individuals with lower fitness values are eliminated, whilst the others with higher fitness values are copied to the next generation one or more times. The population after reproduction stage is called mating pool.

In crossover stage, a genetic crossover operator is applied to the mating pool to generate new individuals. Thus individuals of the mating pool are paired randomly, and genetic couples are obtained. There are many

You May Also Find These Documents Helpful

  • Satisfactory Essays

    EXAM 5 AIS

    • 1909 Words
    • 18 Pages

    Which of the following is conducted as a follow up to a system's recent implementation?…

    • 1909 Words
    • 18 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Problem 1 The following data were obtained from a project to create a new portable electronic. Activity Duration Predecessors A 5 Days --- B 6 Days --- C 8 Days --- D 4 Days A, B E 3 Days C F 5 Days D G 5 Days E, F H 9 Days D I 12 Days G Step 1: Construct a network diagram for the project.…

    • 556 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    MPS1 Spring 2015

    • 516 Words
    • 2 Pages

    Selection is a statistical, probabilistic process, not a deterministic process. We’ll see several implications of that in this course, and your understanding of the previous sentence will deepen considerably. For this problem set we want to help you understand that, although selection sorts individuals (allowing only some of them to reproduce), selection’s effect can be seen at the level of the population average. We’re going to consider two (kinds of) examples of this process.…

    • 516 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Ais Project

    • 1021 Words
    • 5 Pages

    (2)Because if your password is known by others, these people might log on the system to see what you do.…

    • 1021 Words
    • 5 Pages
    Satisfactory Essays
  • Powerful Essays

    AIA105 Assignment Two

    • 1496 Words
    • 4 Pages

    If we attempt to define slaves or slavery we would conjure up notions of force, control, physical and psychological punishments brought on by a person or persons of higher authority. They are looked at and labelled as humans that are not worthy to be at the level of which their “masters” contain, thus the capability to provide physical force, poor nutrition and physical health and to justify it. Associating this stereotype of slavery to that of the convicts transported to Australia between 1788 and 1850, we could find many similarities. The past lives each individual lead, whether it be as a slave or a convict, can initially be perceived as degrading and a slow progress of deterioration of the mind and body. Once researching and finding more on each of the topics I was able to gain a clearer understand of both, enabling great comparison and debate.…

    • 1496 Words
    • 4 Pages
    Powerful Essays
  • Good Essays

    Fruit Fly Lab Report

    • 602 Words
    • 3 Pages

    The class was given vials with adult fruit flies of P1 parent generation to look at the traits, one generation was homozygous, wild type eyes and dumpy wings. The other one was homozygous for sepia eyes and normal wings. These were crossed to yield the F1 generation which is crossed to produce the F2 generation.…

    • 602 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Assignment 702 Task A

    • 1663 Words
    • 5 Pages

    The Catering Services industry has struggled during the past five years. Since 2008-09, a severe economic downturn has led businesses and households to spend less on catered events. Businesses faced with plunging profitability cut back sharply on catered events such as office parties, corporate seminars and product launches, and reduced average spend per head for events that did go ahead. The deteriorating consumer climate led consumers to put off discretionary events and choose to cater events themselves or spend less at a restaurant rather than use the industry 's services.…

    • 1663 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Step 6: To be able to continue the experiment for further generations, the population must be first restored back to 50 individuals. For example, if 20 lethal genes were removed from the population, replace these with 20 normal genes so the population will remain at 50 individuals throughout the generations.…

    • 550 Words
    • 3 Pages
    Good Essays
  • Good Essays

    EIA4 Task 2

    • 531 Words
    • 2 Pages

    I would generally use whole-group instruction at the beginning of a lesson. This allows me to give the students a pre assessment on their knowledge on the subject. New information being introduced to the class should always be given in a whole group setting so as not to give any students a disadvantage of succeeding. By showing the whole class new concepts at the same time, it allows me to figure out what kind of flexible groupings I will need to implement.…

    • 531 Words
    • 2 Pages
    Good Essays
  • Better Essays

    Edu 106 Task 4

    • 921 Words
    • 4 Pages

    When I was on practical I observed many classroom procedures and strategies that teachers use on a daily basis. These are what I believe are the most important in constructing a positive learning environment.…

    • 921 Words
    • 4 Pages
    Better Essays
  • Good Essays

    Igs 300

    • 276 Words
    • 2 Pages

    A) Charles Darwin states that in the beginning, all beings were created equal but due to the process of natural selection, some beings will be more prevalent than others. Because a species survival depends upon reproduction, those that are more appealing and accommodating will be reproduced more abundantly. These species have to generate from a beginning genus. The diagram on pages 170 and 171 are used to visually represent Charles Darwin’s idea of how an organism’s characteristics are determined.…

    • 276 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Population Genetics Lab

    • 1581 Words
    • 7 Pages

    3. Each partner should obtain cards that correspond with the genotype. Randomly seek other people and mate with them to produce offspring of the next generation. Record genotype after each…

    • 1581 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    Natural Selection Lab

    • 269 Words
    • 2 Pages

    A population in which the frequency of alleles remains the same over generations is said to be in genetic equilibrium. Describe one mechanism by which a populations' genetic equilibrium can be disrupted and result in the process of evolution.…

    • 269 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Charles Darwin discovered and developed this evolutionary mechanism called natural selection. It basically stated that if there existed variation in population there would be a struggle of survival. Darwin meant that those traits that were the most fit would be passed on to the next generation more often.…

    • 1751 Words
    • 9 Pages
    Powerful Essays
  • Better Essays

    Natural Selection Paper

    • 1518 Words
    • 7 Pages

    It is said that biology “came of age” when Charles Darwin published “On the Origin of Species by Means of Natural Selection”. In this book Darwin expressed his concept on the mechanism of evolution: natural selection. He felt that a population could change over generations if organisms that have certain heritable traits left more offspring than other organisms in that population. The result of this is evolutionary adaptation is where populations increase in traits that are suited to the environment. Evolution is when the genetic makeup of a population changes over time to adapt to its environment. Darwin found evidence of natural selection when he sailed from Great Britain along the South American coastline in 1831. He noticed various adaptations in the organisms inhabiting South America. He realized that the plants and animals were distinctly different from the organisms in Europe. Upon examination of different fossils on the South American continent he observed that the fossils were different from the modern species and yet there was still a resemblance between the fossils and the modern organisms. In his book The Origin…

    • 1518 Words
    • 7 Pages
    Better Essays