# 1. In this problem, you are going to implement a network that learns (or memorizes) the multiplication

01 / 02 / 2019 Electrical engineering

This paper circulates around the core theme of 1. In this problem, you are going to implement a network that learns (or memorizes) the multiplication together with its essential aspects. It has been reviewed and purchased by the majority of students thus, this paper is rated 4.8 out of 5 points by the students. In addition to this, the price of this paper commences from £ 32. To get this paper written from the scratch, order this assignment now. 100% confidential, 100% plagiarism-free.

1. In this problem, you are going to implement a network that learns (or memorizes) the multiplication
table (“¸carpım tablosu” in Turkish). Using MATLAB, design/implement a three-layer feedforward neural network that multiplies two integers in the range {1,2,...,10}. Use the backpropagation learning algorithm. You are free to design the network as you like, as long as it is capable of multiplying
two integers between 1 and 10. Alternatively, you can refer to my suggestions below.
• Use the hyperbolic tangent function as the activation function. • Use 20 neurons in the input layer. Neurons 1:10 will represent the ﬁrst integer, and neurons 11:20 will represent the second integer. Use a binary input scheme (i.e., -1’s and 1’s). For example, if
you are multiplying 3 and 8, 3rd neuron in the ﬁrst set and 8th neuron in the second set will be
1, others will be -1. In other words, neurons 3 and 18 will be 1 and others will be -1. If you are
multiplying 9 and 5, neurons 9 and 15 will be 1 and others will be -1.
• Use 100 neurons in the output layer and use a binary desired output scheme. For example, if you are multiplying 3 and 8, the desired output vector will have 1 in the 24th entry and -1 in
other entries. If you are multiplying 9 and 5, the desired output will have 1 in the 45th entry
and -1 in the other entries.
Choose an appropriate number of hidden neurons, an appropriate learning rate, an appropriate error
threshold, and/or an appropriate number for maximum number of epochs to stop the iterations. Train
the network using all 100 possible multiplications and report how the error decreases with the number
of epochs. Does your network converge? In how many epochs? Then test the network using all 100
possible multiplications and demonstrate that it works. How many of the 100 possible multiplications
2. Do you think the problem above can be solved using a single-layer perceptron (i.e., no hidden
layer)? Explain why or why not.
3. Explain the role of the learning rate in the backpropagation algorithm. What would happen if it
is too large? Too small?
4. An improvement to the backpropagation algorithm is to use a “momentum term” in the weight
update equations. Brieﬂy research and explain what the momentum factor is, and how and why it is
used in the weight update equations.
5. Explain the diﬀerence between synchronous update and asynchronous update in a Hopﬁeld network.
Which one do you think is advantageous? Why?
6. Explain the role of the variance σ2 of the Gaussian function used in Kohonen’s self-organizing
maps. Explain why it needs to be decreased gradually with the number of epochs.
7. Suppose, in a Kohonen’s self-organizing neural network, we use a “Mexican hat function” instead
of the Gaussian. Such a function is plotted below. Explain how using this function would aﬀect the
execution of the algorithm. Do you think this is an improvement to the original algorithm? Why?

### 100% Plagiarism Free & Custom Written

International House, 12 Constance Street, London, United Kingdom,
E16 2DQ

Company # 11483120

## STILL NOT CONVINCED?

We've produced some samples of what you can expect from our Academic Writing Service - these are created by our writers to show you the kind of high-quality work you'll receive. Take a look for yourself!

View Our Samples

## Benefits You Get

• Free Turnitin Report
• Unlimited Revisions
• Installment Plan
• Plagiarism Free Guarantee
• 100% Confidentiality
• 100% Satisfaction Guarantee
• 100% Money-Back Guarantee
• On-Time Delivery Guarantee +44 7340 9595 39
+44 20 3239 6980
[email protected]
AKOSZTEC “International House, 12 Constance Street, London, United Kingdom, E16 2DQ”

Hire Researcher
Rated 4.7/5 based on 8956 Reviews

## Supporting Pages

FLAT 25% OFF ON EVERY ORDER. Use "FLAT25" as your promo code during checkout