Threshold-Logic Neuron SOLUTION

The network below has two inputs represented by light bulbs A and B. You can toggle the lights on/off by clicking on them.

Complete the network connections and adjust the weights so that the three neuron outputs correspond to logical states (A OR B), (A AND B), and (A XOR B). The XOR unit should be ON (output = 1) when only one of the two lights is on (A only or B only). The XOR unit should be OFF (output = 0) when both lights are ON or both lights are OFF.

When you've completed the exercise, email a link to your jsbin project to: mcb419@gmail.com (Subject: Threshold Logic).