You are on page 1of 2

Subject: BITI1113 Artificial Intelligence

Task: Lab 10
Name: 1. Thiveya A/P Mahendran (B032010296)
2. Nur Syuhada binti Azhar (B032010378)

Question 1:

Based on Table 1, draw a perceptron network architecture to correctly classify 4 points


below. The output node returns 1 if the weighted sum is greater than or equal to 0.5.
You may put the bias with value = 1. Hint: If your network architecture look too
complicated you are probably wrong.

Table 1: Set of data


x y out
0 0 1
0 1 1
1 0 0
1 1 1
Question 2:
A neuron with 4 inputs has the weight vector w = [1; 2; 3; 4] and a bias, = 0
(zero). The activation function given is f(net) = 2 * net. If the input vector is x =
[4; 8; 5; 6], what will the output of the neuron be?

Weight (W): [1; 2; 3; 4]


Input (X): [4; 8; 5; 6]

Weight * Input
= (1 * 4) + (2 * 8) + (3 * 5) + (4 * 6) + 0
= 59

f(net) = 2 * net
= 2 * 59
=118

You might also like