PCA Flashcards

(5 cards)

1
Q

How do you find the eigenvalues of Matrix A?

A

Take the determinant of A, this will give a polynomial. Solve this polynomial to get the eigenvalues.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you find the eigenvectors of Matrix A?

A

Any 2 element column vector in which the two elements have equal magnitude and opposite sign

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When doing PCA what format must the data be in?

A

A matrix where the columns are vectors and the rows are observations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Formula for Covariance

A

For every value in x, take every value in y, minus the mean of x from the current x value and multiply it by the current y value minus the mean of y. Divide the total by the number of data values - 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain how to do PCA

A

Take the covaraince matrix of a dataset and find the eigenvalues. Normalise by divding each eigenvalue by the sum of the eigenvalues. Reduce the sets dimensionality by discarding low eigenvalues.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly