Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This question tests your understanding of each step in the training process of ANN. Well use a simple example of training a neural network to

This question tests your understanding of each step in the training process of ANN.

Well use a simple example of training a neural network to function as an Exclusive OR (XOR). The truth table of an XOR is given below.

i1 i2 Output
0 0 0
0 1 1
1 0 1
1 1 0

Lets use a simple ANN to represent the XOR function. The ANN has three layers:

Input layer with two inputs neurons

One hidden layer with three neurons

Output layer with a single neuron

The initial weights are {0.8, 0.4, 0.3} from input neuron 1 to hidden neurons 1, 2, and 3. {0.2, 0.9, 0.5} from input neuron 2 to hidden neurons 1, 2, and 3. {0.3, 0.5, 0.9} from hidden neurons 1, 2, and 3 to the output neuron

To train our neural network, we need to find the weights that minimize prediction error. To answer this question, start with forward propagation, and then back propagation. Use the sigmoid function S(x) as an activation function. Show your steps for two rounds of output predictions and calculate the error in each case.

Marking Criteria

5 Marks for executing forward propagation correctly

5 Marks for executing back propagation correctly

5 Marks for adjusting the weights correctly

5 Marks for using the activation function correctly

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Unity From Zero To Proficiency Beginner A Step By Step Guide To Coding Your First Game

Authors: Patrick Felicia

1st Edition

1091872023, 978-1091872028

More Books

Students also viewed these Programming questions

Question

Bismarck countries have all had universal insurance for at least

Answered: 1 week ago