2021-11-09

Nov 10 In-Class Exercise Thread .

Please post your solutions to the Nov 10 In-Class Exercise to this thread.

Best, Chris

Please post your solutions to the Nov 10 In-Class Exercise to this thread. Best, Chris
2021-11-14

-- Nov 10 In-Class Exercise Thread

Resource Description for WhatsApp Image 2021-11-15 at 2.16.42 AM.jpeg

(Edited: 2021-11-15)
((resource:WhatsApp Image 2021-11-15 at 2.16.42 AM.jpeg|Resource Description for WhatsApp Image 2021-11-15 at 2.16.42 AM.jpeg))

-- Nov 10 In-Class Exercise Thread

Resource Description for WhatsApp Image 2021-11-15 at 2.13.02 AM.jpeg

(Edited: 2021-11-15)
((resource:WhatsApp Image 2021-11-15 at 2.13.02 AM.jpeg|Resource Description for WhatsApp Image 2021-11-15 at 2.13.02 AM.jpeg))

-- Nov 10 In-Class Exercise Thread

Resource Description for inclass rnn mod 8.jpg

((resource:inclass rnn mod 8.jpg|Resource Description for inclass rnn mod 8.jpg))

-- Nov 10 In-Class Exercise Thread

Resource Description for Picture1.png

((resource:Picture1.png|Resource Description for Picture1.png))

-- Nov 10 In-Class Exercise Thread

We want to produce an output that is a number modulo 8. These numbers are {0,1,2,3,4,5,6,7} which can be represented as 3-bit binary numbers.

  • We will use 3 neurons where each neuron will represent the bits in the output.
  • Every neuron will get 4 inputs (1 input bit from the sequence + 3 neuron outputs from the previous time step)

The following diagram will summarize the network.

Resource Description for Screen Shot 2021-11-15 at 10.13.27.png

Neurons are numbered 1 through 3 from top to bottom in the above diagram.

Neuron 1 will compute: (y_1)^t = (y_1)^(t-1) OR ((y_2)^(t-1) AND (x^t AND (y_3)^(t-1))

Neuron 2 will compute: (y_2)^t = (y_2)^(t-1) OR (x^t AND (y_3)^(t-1))

Neuron 3 will compute: (y_3)^t = (x^t OR (y_3)^(t-1))

(Edited: 2021-11-15)
We want to produce an output that is a number modulo 8. These numbers are {0,1,2,3,4,5,6,7} which can be represented as 3-bit binary numbers. * We will use 3 neurons where each neuron will represent the bits in the output. * Every neuron will get 4 inputs (1 input bit from the sequence + 3 neuron outputs from the previous time step) The following diagram will summarize the network. ((resource:Screen Shot 2021-11-15 at 10.13.27.png|Resource Description for Screen Shot 2021-11-15 at 10.13.27.png)) Neurons are numbered 1 through 3 from top to bottom in the above diagram. Neuron 1 will compute: @BT@(y_1)^t = (y_1)^(t-1) OR ((y_2)^(t-1) AND (x^t AND (y_3)^(t-1))@BT@ Neuron 2 will compute: @BT@(y_2)^t = (y_2)^(t-1) OR (x^t AND (y_3)^(t-1))@BT@ Neuron 3 will compute: @BT@(y_3)^t = (x^t OR (y_3)^(t-1))@BT@

-- Nov 10 In-Class Exercise Thread

Resource Description for IMG_20211115_110544.jpg

((resource:IMG_20211115_110544.jpg|Resource Description for IMG_20211115_110544.jpg))

-- Nov 10 In-Class Exercise Thread

Resource Description for nov_10.jpeg

((resource:nov_10.jpeg|Resource Description for nov_10.jpeg))

-- Nov 10 In-Class Exercise Thread

Resource Description for WhatsApp Image 2021-11-15 at 1.45.03 PM.jpeg

((resource:WhatsApp Image 2021-11-15 at 1.45.03 PM.jpeg|Resource Description for WhatsApp Image 2021-11-15 at 1.45.03 PM.jpeg))

-- Nov 10 In-Class Exercise Thread

Resource Description for image_123927839.JPG

((resource:image_123927839.JPG|Resource Description for image_123927839.JPG))
[ Next ]
X