Professional Documents
Culture Documents
United International University: Department of Computer Science and Engineering
United International University: Department of Computer Science and Engineering
2. A Credit Approval data set is given as follows that there are 3 attributes(Reference, Card Type, Avg
Expenditure) and 2 classes(positive, negative).
1
3. (a) State Celebrated Perceptron Algorithm. (5)
T
(b) Suppose, a perceptron is working on a 2 class problem with 3 attributes(X = [x1 , x2 , x3 ] ). At
t-th iteration, w0 = −0.5, w1 = 1, w2 = 1, w3 = 1. And in this iteration total 3 instances are
misclassified. They are
x1 −0.2
• x2 = 0.75 misclassified as class-2
x3 1.54
x1 0.15
• x2 = 0.4 misclassified as class-2
x3 0.034
x1 0.4
• x2 = 0.05 misclassified as class-1
x3 −1.45
What is the discriminator function in (t+1)-th iteration? (5)
4. (a) State Edit Distance Algorithm. What are Global and Local constraint of Edit Distance Algo-
rithm? (5 + 2 = 7)
(b) Explain Logarithmic Search. (3)