Assignment#1
Presented to
Assistant. Professor .Dr.Tehseen Jeelani
Karachi University
Institute of Business Management
1|Page
Adnan Alam Khan Std_18090@iobm.edu.pk
2|Page
Adnan Alam Khan Std_18090@iobm.edu.pk
+..
( +.. )
which, using a small and linear neuron approximation, leads to Ojas Learning Rule
wij =.out j .ini .out j .wij .out j
which is a useful stable form of Hebbian Learning.
Hebbian base Principle Component Analysis
- Single neuron use APN mechanism of learning
- Synaptic weight must be updated
Neurons uses Eigen value which is the highest value of a q1 vector (first principle component)
called APN learning using data reduction.
J is the single layer of neuron whereas dimension Lm
X1
Y1
X2
X3
Y2
Xm
Yn
(2)
(3)
Xi(n)=Xi(n)-=1 () ()
(4)
wij(n)= yi(n)Xi(n);
Xi(n)=Xi(n)-Wji(n)Yj(n) This is known as generalized Hebbian learning.
3|Page
Adnan Alam Khan Std_18090@iobm.edu.pk
Wj-1,i(n)
Xi(n)
-yi(n)
Wji(n+1)
Wji(n)
-1
Aforementioned diagram depicts signal flow, decision means concluding result without supervision so the
new equation becomes.
Wji(n+1)- Wji(n) Extracting principle component 1,2,3
Equation 3 in the Matrix form
(3)
(5)
2.
3.
( + 1)
() = ()
Increment n to n+1
Taking negative weight to right hand side
( + 1) =
() + ()[
() ()
()]
Which is called as Oja Result of the component ().Aforementioned equation depicts first principle component.
For the second neuron
() 1 ()
1 ()]
J=2:
() = [
() is the input vector from where the first principle component has been eliminated. Input vector from which the first
eigen vector of the correlation matrix has been removed. This neuron will extract the first principle component of
(); which is equivalent to the second principle component of the original vector ()
For the third neuron first two term go away from the 3rd neuron j=3;
() = ()
1 (). 1 ()
2 (). 2 ()
This will extract the 3rd principle component w-r-t original.
X1
X2
X3
Xm
4|Page
Adnan Alam Khan Std_18090@iobm.edu.pk
Result:
Here you can see the Hebb learning classify two dimension input pattern
5|Page
Adnan Alam Khan Std_18090@iobm.edu.pk