Train a back-propagation neural network

Assignment Help Data Structure & Algorithms
Reference no: EM13841881

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 0 1) (1 1 1 1 1 1)), specify which 6-bit strings are possible values obtained through crossover alone. Justify your answer.

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.03 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.

3 Neural Network

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) Present:

(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.

You should also show important intermediate results, and important steps of your experiments (if not reported previously).

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

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).

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.

Attachment:- data.txt

Reference no: EM13841881

Questions Cloud

How can a nation that runs a persistent current account : How can a nation that runs a persistent Current Account
Identifying the alternative actions and the states of nature : The Hit-and-Miss Manufacturing Company produces items that have a probability p of being defective. These items are produced in lots of 150. Past experience indicates that p for an entire lot is either 0.05 or 0.25. Furthermore, in 80 percent of the ..
Research aim and questions : When working on these two chapters, I suggest you start with literature review. Literature review can help you to look deeply into the research background, can help you to clarify the research aim and research questions formulated in the proposal and..
What values do they represent-either explicitly : Find three corporate vision statements and/or mission statements on the web. What values do they represent, either explicitly or implicitly?  Would you want to work for these companies?  Why or why not? Compare the company values with your own core v..
Train a back-propagation neural network : What kind of real-world problems can be solved using the tool and What is the actual running environment (software and hardware) of the tool?
Configuration maintenance or procedure standard : Explain the impact of the 60-minute rule and how the configuration maintenance or procedure standard is used in extended range operations
Subject of organizational behavior : Why do you think the subject of organizational behavior might be critised as being "only common sense" when one would rarely hear such criticism of a course in physics or statistics?
Find an article concerning the ethics of strategy : Note: For this week's Watercooler, find an article concerning the ethics of strategy, strategic management, or strategic thinking. This can include the ethics of leadership as it pertains to long-term vision, long-term decision making, and so forth. ..
Best employment strategy-largely unsupervised position : Many companies are still working through the best employment strategy to use when hiring home shoring reps. consider the following examples of two people who are interested in becoming an e-rep. Given these two persons who show an interest in a homes..

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Fill the array using random numbers

Fill the array using random numbers

  Prepare a flowchart to solve any linear equation

Prepare a flowchart to solve any linear equation ax^2+bx+C=0

  The number of operations executed by algorithms

The number of operations executed by algorithms A andB is 8nlogn and 2n 2 , respectively. Determine n 0  such that Ais better thanB for n ? n 0 .

  Give an algorithm that returns the position

Give an algorithm that returns true if a string contains properly nested and balanced parentheses, and false if otherwise. Hint: At no time while scanning a legal string from left to right will you have encountered more right parentheses than left..

  Definitions and discussion on best-average-worst case

Definitions and discussion (0-complexity of algorithms discussed: best-average-worst case, doubly linked list, trees, binary trees, binary search trees, AVL, and b-tree.

  Create a solution algorithm that employs loops.

Given a simple problem that requires iteration, create a solution algorithm that employs loops. Given a simple problem that requires simple data structures, design, code, and test a solution algorithm that uses arrays

  Single versus parallel arrays

Single versus Parallel Arrays

  Explain how to modify knuth-morris-pratt algorithm

Explain how to modify Knuth-Morris-Pratt algorithm to support patterns with these wild cards, and analyze modified algorithm. Your algorithm must find first substring in text which matches the pattern.

  You and your eight-year-old nephew elmo decide to play a

you and your eight-year-old nephew elmo decide to play a simple card game. atthe beginning of the game the cards are

  How implement both a push and pop instruction

A computer has 8 general purpose registers (R0 to R7) but does not have PUSH or POP instructions. The computer does have the register indirect with auto increment mode (post-inc) and register

  Implement a method to delete every node

Call the structure for the nodes of the tree WordNode, and call the references in this structure left and right. Use Strings to store words in the tree. Call the class implementing the binary search tree WordTree.

  Conceptual model entity relationship diagram

Assume you are asked you to create a new entity-relationship diagram for a corporation for a customized shipment tracking system.

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