






















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























Data Compression (inches) (cm) Reduce data from 2D to 1D
Data Visualiza2on Country Canada 1.6 1. China 1.7 0. India 1.6 0. Russia 1.4 0. Singapore 0.5 1. USA 2 1. … … …
Principal Component Analysis (PCA) problem formula2on
Principal Component Analysis (PCA) problem formula2on Reduce from 2-‐dimension to 1-‐dimension: Find a direc1on (a vector ) onto which to project the data so as to minimize the projec1on error. Reduce from n-‐dimension to k-‐dimension: Find vectors onto which to project the data, so as to minimize the projec1on error.
PCA is not linear regression
[U,S,V] = svd(Sigma);
Principal Component Analysis (PCA) algorithm summary Ader mean normaliza1on (ensure every feature has zero mean) and op1onally feature scaling: