Presentation is loading. Please wait.

Presentation is loading. Please wait.

Feature Selection and Extraction ☺ Given a set of features S={v 1, v 2, …, v D }, find a subset of S’ with |S’|=d < D such that J(S’)≥J(T) for any subset.

Similar presentations


Presentation on theme: "Feature Selection and Extraction ☺ Given a set of features S={v 1, v 2, …, v D }, find a subset of S’ with |S’|=d < D such that J(S’)≥J(T) for any subset."— Presentation transcript:

1 Feature Selection and Extraction ☺ Given a set of features S={v 1, v 2, …, v D }, find a subset of S’ with |S’|=d < D such that J(S’)≥J(T) for any subset T of S, |T|=d. ☺ Given a set of features S={v 1, v 2, …, v D }, find a set S’ with |S’|=d < D derived from S such that J(S’)≥J(T) for any set T, with |T|=d, derived from S.

2 Feature Selection To exhaustively select d optimal features out of D needs to evaluate D!/[(D-d)!d!] feature sets which is not practical even for small D and d, e.g., when D=20, d=10, 184756 feature sets would have to be considered. Two ways to overcome this problem. (1)Whitney’s method (1971) 1101-1103. (2) Branch and Bound (1977) 917- 922.

3 Whitney’s Nonparametric Method 1. Use 1-nn decision and leave-out-out error 2. First feature selected should have the smallest error 3. Next feature selected is the one joined with the previously selected features has the smallest error 4. Continue step 3 until d features are selected.

4 Results of Whitney’s on iris, imox, 8OX Data Sets (in # of errors) Feature ordering 3 4 1 2 Iris 18 7 7 6 /150 Imox 6 8 7 1 5 2 4 3 81 37 13 8 7 5 4 10 /192 8OX 7 6 3 5 1 2 4 8 17 7 2 1 1 0 0 3 /45

5 Features of Characters 8,O,X,3

6

7 Branch and Bound (1/3) Let the number of features in the original set be n. We have to select a subset of features so that the value of a criterion is optimized over all subsets of size m < n. Let (Z 1,Z 2,….,Z k ) be the k=n-m features to be discarded to obtain an m feature subset. Each variable Z i can take on values in {1,2,….,n} but the order of Z i ’s is immaterial, hence we consider only sequences of Z i ’s, such that Z 1 < Z 2 < …. <Z k

8 Branch and Bound (2/3) The feature selection criterion, J m (Z 1,Z 2,...,Z k ), is a function of the m (=n-k) features obtained by discarding Z 1,Z 2,...,Z k from the n feature set. The feature subset selection problem is to find the optimum subset {Z 1 *, Z 2 *,…, Z k * } such that J m (Z 1 *, Z 2 *,…, Z k * ) = max {J m (Z 1,Z 2,...,Z k )} where the criterion J must satisfy the monotonicity, which is defined by J(Z 1 ) ≧ J(Z 1,Z 2 ) ≧ … ≧ J m (Z 1,Z 2,...,Z k )

9 Branch and Bound (3/3) Let B be a lower bound on the optimum (maximum) value of the criterion J m (Z 1 *, Z 2 *,…, Z k * ), i.e., B ≦ J m (Z 1 *,Z 2 *,…,Z k * ) If J(Z 1,Z 2,...,Z h ) (h<k=n-m) were less than B, then J m (Z 1,Z 2,...,Z h,Z h+1, …, Z k )<B for all possible { Z h+1, …, Z k }


Download ppt "Feature Selection and Extraction ☺ Given a set of features S={v 1, v 2, …, v D }, find a subset of S’ with |S’|=d < D such that J(S’)≥J(T) for any subset."

Similar presentations


Ads by Google