












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













Docsity.co
1
1
{
,
}
,
,
,
Supervised Learning
of proper network behavior (inputs/targets)Network is provided with a set of examples
Reinforcement Learning
which indicates network performanceNetwork is only provided with a grade, or score,
Unsupervised Learning
the inputs.algorithm. Network learns to categorize (cluster)Only network inputs are available to the learning
Docsity.co
p
1
a
n
Inputs
b
p
2
w
1,
w
1,
1
a
=
hardlim
(^) (
Wp
(^) +
(^) b
)
Two-Input Neuron
a
hardlim
T
1
b
hardlim w
1 1 ,
p
1
w
1 2 ,
p
2
b
w
1 1 ,
1
=
w
1 2 ,
1
=
b
1
=
p
1
p
2
1 w
T p
(^) +
(^) b
(^) =
(^) 0
a =
1
a =
0
1
1
1 w
Docsity.co
1 w
1 w
T
1
b
T
1
b
product with the weight vector.All points on the decision boundary have the same inner
weight vectorvector, and they must lie on a line orthogonal to theTherefore they have the same projection onto the weight
1 w
T p
(^) +
(^) b
(^) =
(^) 0
1 w
Docsity.co
1 w
OR
w
1
w
T
1
p
b
b
b
b
Weight vector should be orthogonal to the decision boundary.
Pick a point on the decision boundary to find the bias.
Docsity.co
Each neuron will have its own decision boundary.
T
i
b
i
A single neuron can classify input vectors
into two categories.
A multi-neuron perceptron can classify
input vectors into 2
categories.
Docsity.co
1 w 1
3
2
w
1
Present
p
1
to the network:
a
hardlim
w
T
1
p
1
hardlim
a
hardlim
(
)
0
=
=
Random initial weight:
Incorrect Classification.
Docsity.co
4
1 w
1
3
2
w
to
p
p
to
w
If
t
1 and
a
0, then
1
new
1
old
w
new
w
1
old
p
1
Tentative Rule:
Docsity.co
4
1 w
1
3
2
Patterns are now correctly classified.
a
hardlim
w
T
1
p
3
hardlim
a
hardlim 0.
(
)
1
=
=
(Incorrect Classification)
w
new
w
1
old
p
3
If
t
a
, then
1
new
1
old
Docsity.co
t
1 and
a
0, then
w
1
new
w
1
old
p
If
t
0 and
a
1, then
w
1
new
w
1
old
p
If
t
a
, then
w
1
new
w
1
old
e
t
a
=
If
e
1, then
w
1
new
w
1
old
p
If
e
then
w
1
new
w
1
old
p
If
e
0, then
w
1
new
w
1
old
1
new
1
old
e
1
old
t
a
b
new
b
old
e
=
A bias is a
weight with
an input of 1.
Docsity.co
1
=
b
=
a
hardlim
Wp
1
b
hardlim
Training Set
Initial Weights First Iteration
p
1
t 1
p
2
t 2
a
hardlim
(
)
0
=
=
new
old
e
T
1
1
(
)
1
1
1
0
=
=
=
b
new
b
(^) old
e
1
(
)
=
=
=
e
t 1
a
Docsity.co
a
hardlim
Wp
2
b
hardlim
a
hardlim
(
)
1
=
=
e
t 2
a
0
1
1
=
=
=
new
old
e
T
0
1
(
)
1 1
1
1
=
=
=
b
(^) new
b
(^) old
e
1
(
)
=
=
=
Docsity.co
The perceptron rule will always
converge to weights which accomplish
the desired classification, assuming that
such weights exist.
Docsity.co
T
1
b
Linear Decision Boundary
Linearly Inseparable Problems
Docsity.co