Professional Documents
Culture Documents
ASSIGNMENT-2
Subject Code: 21CS54 Date of Assignment: 23/03/2024 Faculty Incharge: Yamuna U &
Rajeshwari S
MODULE-4 & 5
1 Consider a perceptron to represent the Boolean function AND with the initial weights L5 CO4
w1=0.3, w2=-0.2, learning rate α=0.2 and bias θ=0.4. The activation function used here is
the step function f(x) which gives the output values as binary.
Design a perceptron that performs the Boolean function AND and update the weights until
the Boolean function gives the desired output.
2 Consider the array of points as shown in the following table. L3 CO5
Objects X Y
0 1 4
1 2 8
2 5 10
3 12 18
4 14 28
Apply single linkage algorithm and draw Dendrogram for the above table.
3 Consider the training dataset and derive version space for the table given below L6 CO4
*******************************