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

  • Good Essays

    Before you undertake this assignment, please read carefully the handout that gives an overview of EvolutionLab. This will make it much easier for you to understand the assignment and complete it correctly.…

    • 1548 Words
    • 7 Pages
    Good Essays
  • Powerful Essays

    Fitness describes the capability of an individual species of a certain genotype to reproduce, and is usually equal to…

    • 1777 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    Assigment 204 task a

    • 275 Words
    • 2 Pages

    Aii: Explain the correct actions to take if you suspect an individual is being abused.…

    • 275 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

    Fitness – per capita growth rate of species, gene, a phenotypic strategy , it is a rate…

    • 675 Words
    • 3 Pages
    Powerful Essays
  • Powerful Essays

    Oshinskie, M. (200?). The Rest Of The Story Behind Genetic Engineering, [internet].http://online.sfsu.edu/%7Erone/GEessays/tokarinterview.htm [accessed 18 JUNE 2008.]…

    • 1189 Words
    • 5 Pages
    Powerful 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
  • Good Essays

    The basic principles of genetics are very often shared by a vast array of organisms. For that reason, it is usually only necessary to study the genetic structure of a few organisms, in order to gain a general understanding of how it works in many others. Microevolution results due to the changes in allelelic frequencies that occur over time within a population. This type of evolution is calculated by a model used in population genetics called the Hardy Weinberg equation. The Hardy-Weinberg equation allows researchers to determine whether evolution has taken place by adhering to five specific conditions. The law essentially states that if no evolution is occurring, then an equilibrium of allele frequencies will remain in effect in each succeeding generation of sexually reproducing individuals. In order for equilibrium to remain in effect Microevolution must not occur, that is none of the following conditions must be violated: 1. No mutations must occur so that new alleles do not enter the population. 2. No gene flow can occur (i.e. no migration of individuals into, or out of, the population). 3. Random mating must occur (i.e. individuals must pair by chance) 4. The population must be large so that no genetic drift (random chance) can cause the allele frequencies to change. 5. No selection can occur so that certain alleles are not selected for, or against. If even one of these conditions are debasedthan micro evolution has occured. In this lab students were instructed to cause micro evolution in a population of fruit flies “Drosophila melanogaster”. This organism was chosen for a number of different…

    • 1452 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Darwin suggested that species evolve through sexual selection which involves attracting the mate with the greatest fitness and at the same time maximizing the chances of being selected as ‘fit’ themselves. Fitness, in the context of the evolutionary theory, means the ability to reproduce and have offspring, making it more likely for them to pass on their genes to the next generation. To explain this, Darwin came up with the two processes:…

    • 960 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Assignment 008

    • 2794 Words
    • 10 Pages

    Schools must develop a range of policies which ensure the safety, security and well-being of their pupils. These will set out the responsibilities of staff and the procedures that they must follow. Policies may be separate or incorporated into one health and safety policy, but they must include sections which cover the following issues of:…

    • 2794 Words
    • 10 Pages
    Powerful 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
  • 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

    You will start by placing 75 light-colored beans and 25 dark-colored beans into a bag. The 100 beans represent your initial gene pool. The light beans represent the F alleles, and the dark beans represent the f alleles. This is the gene pool produced by mating between heterozygous (Ff) and homozygous normal (FF) individuals.…

    • 508 Words
    • 3 Pages
    Satisfactory 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
  • 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