

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The answers and explanations for practice quiz 2 of the pattern recognition course (cs 591q/791v) at the university of x. It covers topics such as exhaustive search, sequential forward selection (sfs), sequential backward selection (sbs), and fisher's criterion. Students can use this document to check their understanding of these concepts and prepare for exams.
Typology: Quizzes
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Posted on April 15, 2009
โ^10
i=
i
(b) SFS: The algorithm begins with an empty set of features. It then successively adds features to this set. The following table lists the number of feature subsets that will be considered (i.e., the number of subsets for which the J() value will be computed) at each iteration. Cardinality of set of selected features Number of subsets considered 1 15 2 14 3 13 4 12 5 11 6 10 7 9 8 8 9 7 10 6 Total 105 (c) SBS: The algorithm begins with a set consisting of all 15 features. It then successively drops features from this set. The following table lists the number of feature subsets that will be considered (i.e., the number of subsets for which the J() value will be computed) at each iteration. Cardinality of set of selected features Number of subsets considered 14 15 13 14 12 13 11 12 10 11 9 10 8 9 7 8 6 7 5 6 4 5 3 4 2 3 1 2 Total 119
C 1 (t = +1) C 2 (t = โ1) y 1 = (1,3,4) y 4 = (1,1,1) y 2 = (1,3,5) y 5 = (1,1,2) y 3 = (1,4,4) y 6 = (1,2,1) (b) โข w = (โ 12 , 8 , 10)T^. Input vector [yi] Linear discrimimant function [ti(wT^ yi)] Correctly classified? y 1 52 Yes y 2 62 Yes y 3 60 Yes y 4 -6 No y 5 -16 No y 6 -14 No
The weight vector is updated based on the misclassified samples. So, w = (โ 12 , 8 , 10)T^ + (โ 1 , โ 1 , โ1)T
The weight vector is updated based on the misclassified samples. So, w = (โ 15 , 4 , 6)T^ + (โ 1 , โ 1 , โ2)T = (โ 16 , 3 , 4)T^.
Since all the samples are correctly classified by w = (โ 16 , 3 , 4)T^ , no further modification of the weight vector is necessary.