Construct by hand a Perceptron which correctly classifies
the following data; use your knowledge of plane geometry
to choose appropriate values for the weights
w0,
w1 and
w2.
Training Example
x1
x2
Class
a.
0
1
-1
b.
2
0
-1
c.
1
1
+1
Demonstrate the Perceptron Learning Algorithm
on the above data, using a learning rate of 1.0
and initial weight values of
w0 = - 0.5 w1 = 0 w2 = 1
In your answer, you should clearly indicate
the new weight values at the end of each training step.
18.21
Construct by hand a Neural Network
(or Multi-Layer Perceptron) that computes
the XOR function of two inputs.
Make sure the connections, weights and biases of
your network are clearly visible.
Explain how each of the following could be constructed:
Perceptron to compute the OR function of m inputs
Perceptron to compute the AND function of n inputs
2-Layer Neural Network
to compute any (given) logical expression, assuming it is written in
Conjunctive Normal Form.
(If time permits)
Discuss how a neural network might be applied to each of the following tasks.
For each task, describe how the inputs and outputs could be encoded,
what network architecture and transfer function would be appropriate,
what kind of pre- or post-processing might be helpful,
and how the output of the network would be used within an overall system.
playing tic-tac-toe
recognizing postcodes written on letter envelopes
predicting a person's risk of developing lung cancer, diabetes or
heart disease
making money on the stock market, or foreign currency exchange.