Computer Science, asked by ananyaachandak7312, 1 year ago

Associative memory neural network example

Answers

Answered by anupambd94
0

These kinds of neural networks work on the basis of pattern association, which means they can store different patterns and at the time of giving an output they can produce one of the stored patterns by matching them with the given input pattern. These types of memories are also called Content-Addressable Memory (CAM). Associative memory makes a parallel search with the stored patterns as data files.

Following are the two types of associative memories we can observe −

Auto Associative MemoryHetero Associative memoryAuto Associative Memory

This is a single layer neural network in which the input training vector and the output target vectors are the same. The weights are determined so that the network stores a set of patterns.

Architecture

As shown in the following figure, the architecture of Auto Associative memory network has ‘n’ number of input training vectors and similar ‘n’ number of output target vectors.

Training Algorithm

For training, this network is using the Hebb or Delta learning rule.

Step 1 − Initialize all the weights to zero as wij = 0 (i = 1 to n, j = 1 to n)

Step 2 − Perform steps 3-4 for each input vector.

Step 3 − Activate each input unit as follows −

xi=si(i=1ton)xi=si(i=1ton)

Step 4 − Activate each output unit as follows −

yj=sj(j=1ton)yj=sj(j=1ton)

Step 5 − Adjust the weights as follows −

wij(new)=wij(old)+xiyjwij(new)=wij(old)+xiyj

Testing Algorithm

Step 1 − Set the weights obtained during training for Hebb’s rule.

Step 2 − Perform steps 3-5 for each input vector.

Step 3 − Set the activation of the input units equal to that of the input vector.

Step 4 − Calculate the net input to each output unit j = 1 to n

yinj=i=1nxiwijyinj=i=1nxiwij

Step 5 − Apply the following activation function to calculate the output

yj=f(yinj)={+1−1ifyinj>0ifyinj⩽0

Answered by Anonymous
0

Explanation:

Answer:

A bidirectional associative memory [Kosko, 1988] stores a set of.

  • pattern associations by summing bipolar correlation matrices (an n. by m outer product matrix for each pattern to be stored). .

  • The architecture of the net consists of two layers of neurons, connected by directional weighted connection paths.
Similar questions