Problem 1.

Use the binary Hopfield algorithm to store the following patterns:



Then find the output response (recall) to the following inputs:



Problem 2.

Use Matlab (or other program) to implement the ART1 procedure. Perform three steps of the learning process for the network with 9 inputs and 3 output neurons assuming that the training vectors are:

x1 = [ 1 0 0 0 1 0 0 0 1];

x2 = [ 1 1 0 0 1 0 0 1 1];

x3 = [ 1 0 1 0 1 0 1 0 1];

Select an appropriate vigilance threshold so that all three patterns are clustered separately. Compute the final weights T and B of the trained network.