You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/assignments/Assignment_1:Hopfield_Networks/README.md
+34-34Lines changed: 34 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,13 +22,13 @@ You should start by reading [Amit et al. (1985)](https://www.dropbox.com/scl/fi/
22
22
23
23
-**Memory Storage:** Implement the Hebbian learning rule to compute the weight matrix, given a set of network configurations (memories). This is described in **Equation 1.5** of the paper:
24
24
25
-
Let \( p \) be the number of patterns and \(\xi_i^\mu \in \{-1, +1\}\) the value of neuron \( i \) in pattern \(\mu\). The synaptic coupling between neurons \( i \) and \( j \) is:
25
+
Let \$p\$ be the number of patterns and \$\xi_i^\mu \in \{-1, +1\}\$ the value of neuron \$i\$ in pattern \$\mu\$. The synaptic coupling between neurons \$i\$ and \$j\$ is:
26
26
27
27
$$
28
28
J_{ij} = \sum_{\mu=1}^p \xi_i^\mu \xi_j^\mu
29
29
$$
30
30
31
-
Note that the matrix is symmetric \(J_{ij} = J_{ji}\), and there are no self-connections by definition \(J_{ii} = 0\).
31
+
Note that the matrix is symmetric (\$J_{ij} = J_{ji}\$), and there are no self-connections by definition (\$J_{ii} = 0\$).
32
32
33
33
-**Memory Retrieval:** Implement the retrieval rule using **Equation 1.3** and surrounding discussion. At each time step, each neuron updates according to its **local field**:
34
34
@@ -42,13 +42,13 @@ You should start by reading [Amit et al. (1985)](https://www.dropbox.com/scl/fi/
0 commit comments