Beruflich Dokumente
Kultur Dokumente
Assignment -2
16/02/2016
1. Which of the following scenario requires the learning approach?
(i)
Classifying numbers into even and odd.
(ii)
Detecting potential fraud in online credit card charges.
(iii)
Determining the time it would take an angry bird to hit the pig at the specified
location.
(iv)
Determining the optimal cycle for traffic lights in a busy intersection.
a)
b)
c)
d)
e)
Answer: a)
Answer: a)
d) Cant Say
Answer: b)
4. You are given a trained perceptron classifier where h(x) = sign(3 + 6x1 -3x2 ) . which one of the
following represents the decision boundary of this classifier. Justify your answer.
a.
b.
14
14
y = -1
12
12
x2
10
x2
10
2
0
y = -1
y=1
y=1
x1
4
c.
2
0
0
-2
-4
-6
-6
y = -1
x2
-8
y = -1
-10
-10
-12
x2
-4
-8
d.
-2
x1
x1
Answer: a)
Consider the perceptron network:
-12
x1
Output is given by :
ai = hardlim(ni) = hardlim(iWTp + b),
Where, hardlim is defined as :
The decision boundary is determined by the input vectors for which the net n is zero:
Output: