Question: In this problem, you will implement a recurrent neural network which implements binary addition. The inputs are given as binary sequences, starting with the least
In this problem, you will implement a recurrent neural network which
implements binary addition. The inputs are given as binary sequences, starting with
the least significant binary digit. The sequences will be padded with at least one zero
on the end. For instance, the problem
would be represented as:
Input :
Input :
Result:
Design the weights and biases for an RNN which has two input units, three hidden
units, and one output unit, which implements binary addition. All of the units use the
hard threshold activation function fx if x and otherwise In particular,
specify weight matrices U V and W bias vector bh and scalar bias by for the following
architecture:
Hint: In the addition algorithm, you add up the values in each column, including the
carry. Have one of your hidden units activate if the sum is at least the second one if
it is at least and the third one if it is
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
