What is the actual running environment

Assignment Help Other Subject
Reference no: EM13343502

Part 2. Problems: 

(Note: Please include any external materials other than the textbook. Use the APA format where appropriate.) 

2.1 Genetic Algorithm 

The following algorithm is used to implement crossover in a genetic algorithm: 

Input: Two strings of n bits x and y 

Output: Two strings of n bits x' and y' 

The crossover operator is applied as follows: 

A crossover site is selected at random (with equal probability) that divides each string into two sub-strings of non-zero length. That is x = [x1 x2] y = [y1 y2], with length of x1 = length of y1. 

The outputs are generated as x' = [x1 y2] and y' = [y1 x2] 

Given that you start with (x1, y1) = ((0 1 0 1 1) (1 1 1 1 1)), specify which 5-bit strings are possible values obtained through crossover alone. Justify your answer. 

2.2 Genetic Algorithm 

A genetic algorithm uses the following mutation operator: the bits in the input string are considered one by one independently, with probability 0.05 that each bit is inverted. Given that you apply the mutate operator to the string (1 1 1 1), what is the probability that the output is: (0 0 0 0)? (0 1 0 0)? (1 0 1 0)? (1 1 1 1)? Show the process of your computation. 

2.3 Neural Network [50 points] 

The data set in the file “data.txt” contains 300 observations for 4 input variables (Temp, Pres, Flow, and Process) and an output variable (Rejects). The first column “No.” is simply an identifier. The table below reproduces the first 4 observations: 

No. Temp Pres Flow Process Rejects 

1 53.39 10.52 4.82 0 1.88 

2 46.23 15.13 5.31 0 2.13 

3 42.85 18.79 3.59 0 2.66 

4 53.09 18.33 3.67 0 2.03 

Train a back-propagation neural network on approximately 80% of the observations, randomly selected. Test the trained network using the remaining 20% observations. 

Please write a detailed report that includes the following. 

1) A detailed discussion how you set up the key parameters of the tool and performed the experiments. 

2) Answer: Will different parameters yield the same solutions based on your experiments? Please justify your choice on these parameters. 

3) 

(i) A figure that plots the actual and predicted values of the output “Rejects” for the training and test data sets. 

(ii) Sum of squared errors for the training and test data sets. 

Note: The easiest way to solve this problem is to use a Neural Network tool. However if you wish to implement your own neural networks, that is also fine. 

Part 3. Practical Assignment: Genetic Algorithm [20 points] 

This practical assignment is intended for you to get familiar with some of the up-to-date AI tools. Please download a genetic algorithm (GA) tool (either a freeware or a trail version of a commercial product) from the Internet and run it on your computer. 

1) Follow the instructions to configure and run the tool you chose. You are also required to go through an example (or a case study) to show that the tool really works. 

2) Write a brief report. In your report, answer the following questions in your own words (please do not copy/paste from a tutorial or other online materials). 

Page 3 of 3 

a) Where and when did you download the tool? 

b) What kind of real-world problems can be solved using the tool? 

c) What is the actual running environment (software and hardware) of the tool? 

d) How will you evaluate the tool based on your own experience? Do you need to tune the parameters in order to solve the example problem? If so, how? If not, explain in detail. 

e) In what aspects could the tool be improved? 

3) Take a screenshot (usually by pressing Shift + PrintScreen) during the running of the tool and paste it in your lab report. In your lab report you can provide as many screenshots as you want and/or other output to show you have actually run the tool.

Reference no: EM13343502

Questions Cloud

How long is the slope : A child on a sled starts from rest at the top of a 15.0 degree slope. If the trip to the bottom takes 15.2s, how long is the slope
Traditional u.s. gaap method of revenue recognition : The traditional U.S. GAAP method of revenue recognition fulfills the needs of the International Financial Reporting System? Why, or why not?
At what angle will the next pair of bright spots occur : A laser beam of unknown wavelength passes through a diffraction grating having 5510lines/cmafter striking it perpendicularly. At what angle will the next pair of bright spots occur
What steps can be taken to loosen the constraint in coating : What steps can be taken to loosen the constraint in coating and sharpening and Which product should be emphasized if the constraint in coating and sharpening cannot be loosened?
What is the actual running environment : Write a brief report. In your report, answer the following questions in your own words (please do not copy/paste from a tutorial or other online materials).
Explain leaving group affects the rate of an sn1 reaction : Explain how and why the nature of the leaving group affects the rate of an Sn1 reaction. Would 2-iodo-2-methylpropane react faster or slower than the other alkyl halides
Explain and critically examine theories on the personal : Explain and critically examine theories on the personal and organisational challenges that employee diversity can place on managers. Explore how managers and organisations can manage these problems.
Why did the gasb probably deem it as being necessary : How might GASB Statement No. 56 change the activities of any accountant performing governmental accounting?
Determine how much work does sam do to stop it : If a boat and its riders have a mass of 1500kg and the boat drifts in at 1.4m/s how much work does Sam do to stop it

Reviews

Write a Review

Other Subject Questions & Answers

  Identify the mesopotamian culture and time period

Identify the Mesopotamian culture and time period the item comes from. Identify the formal elements of each of these pieces? In other words, what elements give the thing its form? What size is it? What is it made from? How has it been made? Describe ..

  Eating-related health problems

Many eating-related health problems occur because the conditions in which we live are different from those in which our species evolved.

  Novel to farewell to arms by ernest hemingway

I have an essay assingment to write based on the novel To Farewell To Arms by Ernest Hemingway. I have to justify whether this novel is a tragedy or romance genre in nature.

  Space allotted should be more balanced

The Spanish-American War lasted three months. The Philippine insurrection lasted three years. Why does virtually every American history textbook devote several times more space to the war than to the insurrection?

  Human population-atmospheric pollution-water resources

If you were an environmental researcher and were given funding to assist with one environmental issue, which of the following topics would you choose to spend your funds on?

  Choose one of the four views of the integration

Choose one of the four views of the integration of Christianity and psychology. Discuss why you believe this is the best approach.

  Society retains legalized gaming

What are two key factors that will especially help to ensure that society retains legalized gaming? List the key social and economic conditions today that suggest that the popularity of gaming in the United States will not end with a significant decl..

  Advantages of less cost and greater facility in the language

The host country is the country in which an international business operates. The source of overseas employees that provides the advantages of less cost and greater facility in the language is:

  Complexity of the information system structure

Identify and discuss factors that can increase the size and complexity of the information system structure (beyond those discussed in the text).Make at least three recommendations for improving the use of information systems steering committees in ma..

  Genetic improvement of crops increases pest

Genetic improvement of crops increases pest resistance by:

  The ancient symbol from chinese philosophy

The ancient symbol from Chinese philosophy that embodies a worldview of mutual interdependence is the ________ symbol

  Law enforcement-communities to solve crime problems

Law enforcement has undergone significant changes in working with communities to solve crime problems and has encountered a number of challenges. Discuss these challenges, and describe what programs, projects, or other efforts have been employed by b..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd