01 / 54Feature Selection, Dimensionality Reduction, and Clustering
1 / 17
Télécharger la présentation
Feature Selection, Dimensionality Reduction, and Clustering
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
F I N
Plus de contenu associé
Transcription de la présentation
Summer Course: Data Mining Feature Selection, Dimensionality Reduction, and Clustering Presenter: Georgi Nalbantov August 2009
Feature Selection • In the presence of millions of features/attributes/inputs/variables, select the most relevant ones.Advantages: build better, faster, and easier to understand learning machines. m features X m’ n
Feature Selection • Goal: select the two best features individually • Any reasonable objective J will rank the features • J(x1) > J(x2) = J(x3) > J(x4) • Thus, features chosen [x1,x2] or [x1,x3]. • However, x4 is the only feature that provides complementary information to x1
Feature Selection • Filtering approach: ranks features or feature subsets independently of the predictor (classifier). • …using univariate methods: consider one variable at a time • …using multivariate methods: consider more than one variables at a time • Wrapper approach: uses a classifier to assess (many) features or feature subsets. • Embedding approach:uses a classifier to build a (single) model with a subset of features that are internally selected.
Feature Selection: search strategies • Forward selection or backward elimination. • Beam search: keep k best path at each step. • GSFS: generalized sequential forward selection – when (n-k) features are left try all subsets of g features. More trainings at each step, but fewer steps. • PTA(l,r): plus l , take away r – at each step, run SFS l times then SBS r times. • Floating search: One step of SFS (resp. SBS), then SBS (resp. SFS) as long as we find better subsets than those of the same size obtained so far.
m1 m2 m3 Feature Selection: feature subset assessment (wrapper) N variables/features Split data into 3 sets: training, validation, and test set. • 1) For each feature subset, train predictor on training data. • 2) Select the feature subset, which performs best on validation data. • Repeat and average if you want to reduce variance (cross-validation). • 3) Test on test data. M samples • Danger of over-fitting with intensive search!
Univariate Multivariate Linear T-test, AUC, feature ranking RFE with linear SVM or LDA Non-linear Mutual information feature ranking Nearest Neighbors Neural Nets Trees, SVM Feature Selection: summary
Dimensionality Reduction • In the presence of may of features, select the most relevant subset of (weighted) combinations of features. Feature Selection: Dimensionality Reduction:
Dimensionality Reduction:(Linear) Principal Components Analysis • PCA finds a linear mapping of dataset X to a dataset X’ of lower dimensionality. The variance of X that is remained in X’ is maximal. Dataset X is mapped to dataset X’, here of the same dimensionality. The first dimension in X’ (= the first principal component) is the direction of maximal variance. The second principal component is orthogonal to the first.
Dimensionality Reduction:Nonlinear (Kernel) Principal Components Analysis Original dataset X Map X to a HIGHER-dimensional space, and carry out LINEAR PCA in that space (If necessary,) map the resulting principal components back to the origianl space
Dimensionality Reduction:Multi-Dimensional Scaling • MDS is a mathematical dimension reduction technique that maps the distances between observations from the original (high) dimensional space into a lower (for example, two) dimensional space. • MDS attempts to retain pairwise Euclidean distances in the low-dimensional space . • Error on the fit is measured using a so-called “stress” function • Different choices for a stress function are possible
Dimensionality Reduction:Homogeneity analysis • Homals finds a lower-dimensional representation of categorical data matrix X. It may be considered as a type of nonlinear extension of PCA.
Clustering • Clustering in an unsupervised learning technique. • Task: organize objects into groups whose members are similar in some way • Clustering finds structures in a collection of unlabeled data • A cluster is a collection of objects which are similar between them and are dissimilar to the objects belonging to other clusters
Clustering:K-means clustering • Minimizes the sum of the squared distances to the cluster centers (reconstruction error) • Iterative process: • Estimate current assignments (construct Voronoi partition) • Given the new cluster assignments, set cluster center to center-of-mass
Clustering:Hierarchical clustering • Clustering based on (dis)similarities. Multilevel clustering: level 1 has n clusters, level n has one cluster • Agglomerative HC: starts with N clusters and combines clusters iteratively • Divisive HC: starts with one cluster and divides iteratively • Disadvantage: wrong division cannot be undone Dendrogram