Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

E27: Computer Vision - Spring 2016 - HOMEWORK 12

Backpropagation in a simple network

The binary XOR function is given by the following truth table:

y1

y2

y1 ⊗ y2

-1

-1

-1

-1

1

1

1

-1

1

1

1

-1

It can be computed by a simple two-layer network with the following structure:

2144_Figure.png

Note that both the input and hidden layer of the network have bias nodes. The output is computed by

y3 = f(x3) = f(w03 + w13 y1 + w23 y2)

y4 = f(x4) = f(w04 + w14 y1 + w24 y2)

y5 = f(x5) = f(w05 + w35 y3 + w45 y4)

where wij is the weight from node i to node j and w0j is the weight from a bias node.

Download the xor_nnet.py file from the course webpage and complete the steps marked # TODO to implement the back-propagation algorithm described in the class handout for this simple network. If you keep the α parameter and tolerance specified in the file, your implementation should converge in 61 iterations.

Attachment:- xor_nnet.py.rar

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91847103

Have any Question?


Related Questions in Computer Engineering

What are the tax reforms included in the train lawhow would

What are the tax reforms included in the TRAIN law? How would it impact the bottom 60% of the households and the top 40% of the households? Lastly, how does the being proposed transfer scheme works? Source: https://opini ...

At a seaside resort where the temperature is 25degc a child

At a seaside resort where the temperature is 25°C, a child holds a 1.5 L balloon. Her grip on the balloon loosens and it sails upward for 4.5 miles. If the atmosphere is 340 torr and the temperature is -18°C, what is the ...

Tests can determine with some degree of accuracy whether a

Tests can determine, with some degree of accuracy, whether a subject indeed has the disease for which s/he is being tested. For instance, a new screening procedure for heart disease was tested on 100 patients with heart ...

Suppose that the wall street journal reports that we are

Suppose that the Wall Street Journal reports that we are headed for a recession. You are the manager of a firm that produces Starcho Lunch. Your marketing research people tell you that the demand for your product is give ...

The cost of a new piece of equipment is 42000 it is

The cost of a new piece of equipment is $42000. It is expected that the new piece of equipment will lead to cash flows of $17000, $29000, and $40000 over the next three years. Discount rate is 12% what is the net present ...

What happens when volatility increases what does volatility

What happens when volatility increases? What does volatility percentage mean?

Question using a web browserand a search engine the terms

Question: Using a web browserand a search engine the terms "citibank backup tapes lost." You will find many results. Select one article and identify what that article considers a ,short coming in citibank's planning. Wha ...

What is a good analogy of subnetting whats a break down of

What is a good analogy of Subnetting? What's a break down of how it is used within a company?

Explain that our ability to secure each computers stored

Explain that our ability to secure each computers stored information is now influenced by the security on each computer to which it is connected

Question develop a taxonomy of dsia document a taxonomy is

Question: Develop a "taxonomy" of DS/IA document. A taxonomy is a way of organizing something on a "group within group" basis. (Remember how the biological taxonomy is structured.) Initially, define data security and inf ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As