Line 28: | Line 28: | ||
Let define a n-by-n matrix A and a non-zero vector <math>\vec{x}\in\mathbb{R}^{n}</math>. If there exists a scalar value <math>\lambda</math> which satisfies the vector equation | Let define a n-by-n matrix A and a non-zero vector <math>\vec{x}\in\mathbb{R}^{n}</math>. If there exists a scalar value <math>\lambda</math> which satisfies the vector equation | ||
− | <center><math>A\vec{x}=\lambda\vec{x}</math></center> | + | <center><math>A\vec{x}=\lambda\vec{x},</math></center> |
we define <math>\lambda</math> as an eigenvalue of the matrix A, and the corresponding non-zero vector <math>\vec{x}</math> is called an eigenvector of the matrix A. To determine eigenvalues and eigenvectors a characteristic equation | we define <math>\lambda</math> as an eigenvalue of the matrix A, and the corresponding non-zero vector <math>\vec{x}</math> is called an eigenvector of the matrix A. To determine eigenvalues and eigenvectors a characteristic equation |
Revision as of 06:34, 30 April 2014
Basics and Examples of Principal Component Analysis (PCA)
A slecture by Sujin Jang
Partly based on the ECE662 Spring 2014 lecture material of Prof. Mireille Boutin.
Contents
Introduction
Principal Component Analysis (PCA) is one of famous techniqeus for dimension reduction, feature extraction, and data visualization. In general, PCA is defined by a transformation of a high dimensional vector space into a low dimensional space. Let's consider visualization of 10-dim data. It is barely possible to effectively show the shape of such high dimensional data distribution. PCA provides an efficient way to reduce the dimensionalty (i.e., from 10 to 2), so it is much easier to visualize the shape of data distribution. PCA is also useful in the modeling of robust classifier where considerably small number of high dimensional training data is provided. By reducing the dimensions of learning data sets, PCA provides an effective and efficient method for data description and classification.
This lecture is designed to provide a mathematical background of PCA and its applications. First, fundamentals of linear algebra is introduced that will be used in PCA. Technical procedure of PCA will be provided to aid understanding of practical implementation of PCA. Based on the procedure, several examples of PCA will be given in dimension reduction.
Eigenvectors, Eigenvalues, and Singular Vector Decompositoin
To understand mechanism of PCA, it is important to understand some important concepts in linear algebra. In this lecture, we will briefly discuss eigenvectors and eigenvalues of a matrix. Also singular vector decomposition (SVD) will be examined in the extraction of principal components.
Eigenvectors and Eigenvalues
Let define a n-by-n matrix A and a non-zero vector $ \vec{x}\in\mathbb{R}^{n} $. If there exists a scalar value $ \lambda $ which satisfies the vector equation
we define $ \lambda $ as an eigenvalue of the matrix A, and the corresponding non-zero vector $ \vec{x} $ is called an eigenvector of the matrix A. To determine eigenvalues and eigenvectors a characteristic equation
is used. Here is an example of determining eigenvectors and eigenvalues where the matrix A is given by
Then the characteristic equation is given by
By solving the quadratic equation for $ \lambda $, we will have two eigenvalues $ \lambda_{1}=-1 $ and $ \lambda_{2}=-6 $. By substituting $ \lambda's $ into the vector equation, we can obtain corresponding eigenvectors;
Technical Procedure of PCA
Examples
Questions and comments
If you have any questions, comments, etc. please post them on this page.