Questions on PCA The Next CEO of Stack OverflowThoroughly understand the concepts and formulas in Linear AlgebraUnderstanding singular value decompositionSolving differential equations in linear algebraChecking connectivity of adjacency matrixDetermine matrix of linear transformation of square into parrallogramPrincipal component analysis (PCA) results in sinusoids, what is the underlying cause?Decide if each is a basis for $P_2$. (a) $(x^2 + x - 1, 2x + 1, 2x - 1)$If $lambda = i$ is an eigenvalue of $A in mathbb R^n times n$, explain why the rank of $A^3 + A$ is less than $n$What does it mean when the rank (number of non-zero rows) of a reduced matrix is MORE than the number of variables?One variable equal to 0 in linear equation system.
Vector calculus integration identity problem
In the "Harry Potter and the Order of the Phoenix" video game, what potion is used to sabotage Umbridge's speakers?
What is the process for cleansing a very negative action
Is there a difference between "Fahrstuhl" and "Aufzug"?
Point distance program written without a framework
Is dried pee considered dirt?
TikZ: How to fill area with a special pattern?
Audio Conversion With ADS1243
Do I need to write [sic] when including a quotation with a number less than 10 that isn't written out?
Is it ever safe to open a suspicious HTML file (e.g. email attachment)?
Airplane gently rocking its wings during whole flight
"Eavesdropping" vs "Listen in on"
Film where the government was corrupt with aliens, people sent to kill aliens are given rigged visors not showing the right aliens
Is French Guiana a (hard) EU border?
Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact
Why did early computer designers eschew integers?
What was Carter Burke's job for "the company" in Aliens?
Is it convenient to ask the journal's editor for two additional days to complete a review?
Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico
Could a dragon use its wings to swim?
free fall ellipse or parabola?
Can you teleport closer to a creature you are Frightened of?
Is it okay to majorly distort historical facts while writing a fiction story?
Won the lottery - how do I keep the money?
Questions on PCA
The Next CEO of Stack OverflowThoroughly understand the concepts and formulas in Linear AlgebraUnderstanding singular value decompositionSolving differential equations in linear algebraChecking connectivity of adjacency matrixDetermine matrix of linear transformation of square into parrallogramPrincipal component analysis (PCA) results in sinusoids, what is the underlying cause?Decide if each is a basis for $P_2$. (a) $(x^2 + x - 1, 2x + 1, 2x - 1)$If $lambda = i$ is an eigenvalue of $A in mathbb R^n times n$, explain why the rank of $A^3 + A$ is less than $n$What does it mean when the rank (number of non-zero rows) of a reduced matrix is MORE than the number of variables?One variable equal to 0 in linear equation system.
$begingroup$
I have a hard time understand the following statements below about PCA (normed or not normed).
a) the matrix to diagonalize is the matrix of linear correlations of original variables.
b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.
It would be really helpful if someone could explain.
linear-algebra matrix-decomposition
$endgroup$
add a comment |
$begingroup$
I have a hard time understand the following statements below about PCA (normed or not normed).
a) the matrix to diagonalize is the matrix of linear correlations of original variables.
b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.
It would be really helpful if someone could explain.
linear-algebra matrix-decomposition
$endgroup$
add a comment |
$begingroup$
I have a hard time understand the following statements below about PCA (normed or not normed).
a) the matrix to diagonalize is the matrix of linear correlations of original variables.
b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.
It would be really helpful if someone could explain.
linear-algebra matrix-decomposition
$endgroup$
I have a hard time understand the following statements below about PCA (normed or not normed).
a) the matrix to diagonalize is the matrix of linear correlations of original variables.
b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.
It would be really helpful if someone could explain.
linear-algebra matrix-decomposition
linear-algebra matrix-decomposition
asked Jan 4 '16 at 15:29
Saul GarciaSaul Garcia
1052
1052
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
I suggest you read the chapter for the Singular Value Decomposition (SVD) in the book 'Linear Algebra' of Gilbert Strang. There's no other book that explains it more intuitively and clearly. The SVD and PCA have the same purpose in practical applications: Identifying the directions in which the data varies the most. In the end one tries to describe (approximate) the data with fewer dimensions by leaving out the dimensions that don't vary a lot.
I can't explain the whole SVD in detail. But here's the big picture: We'd like to decompose $A$ into $A=USigma V^T$, where $U$ and $V$ have orthogonal columns and $Sigma$ is just a diagonal matrix.
We know that $A^top A$ is symmetric and thus diagonalizable. Since
$$
A^top A = (USigma V^top)^top USigma V^top
=VSigma U^top USigma V^top = VSigma^2 V^T,
$$
by diagonalising $A^top A$ and orthonormalising the eigenvectors of the decomposition we can get $V$ and $Sigma$ from this process. The eigenvalues of $Sigma$ are usually sorted in decreasing order. We then just use $A=USigma V^top Longleftrightarrow AV=USigma$ in order to determine $U$.
See also:
https://en.wikipedia.org/wiki/Singular_value_decomposition (Has some good pictures)
https://en.wikipedia.org/wiki/Principal_component_analysis
$endgroup$
add a comment |
$begingroup$
PCA is kind of order reduction. You simply categorize the data to fewer dimensions in a way you can visualized such data. Imagine that you have list of 1000 kinds of win to pick one or two among such a list regards/ based on 5 or 6 or 7.... features.
PCA analysis tool is a vital tool in such a case. PCA allows you to have a clear look on wins based on 2D dimensions (2 factors / 2 PCA's). Such factors/ PCAs take in accounts all the other features(factors) with various
To get more of the physical meaning of PCA, I highly recommend t check the following youtube:
https://www.youtube.com/watch?v=g-Hb26agBFg
Reagrds to the statements you mentioned above:
a) the matrix to diagonalize is the matrix of linear correlations of original variables.
[U,D]=eigs(A'*A) A'*A is the covariance matrix which is more or less (correlation).
b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.
This means that high illustrative variable has high PCA.
Best regards
$endgroup$
add a comment |
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1599720%2fquestions-on-pca%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I suggest you read the chapter for the Singular Value Decomposition (SVD) in the book 'Linear Algebra' of Gilbert Strang. There's no other book that explains it more intuitively and clearly. The SVD and PCA have the same purpose in practical applications: Identifying the directions in which the data varies the most. In the end one tries to describe (approximate) the data with fewer dimensions by leaving out the dimensions that don't vary a lot.
I can't explain the whole SVD in detail. But here's the big picture: We'd like to decompose $A$ into $A=USigma V^T$, where $U$ and $V$ have orthogonal columns and $Sigma$ is just a diagonal matrix.
We know that $A^top A$ is symmetric and thus diagonalizable. Since
$$
A^top A = (USigma V^top)^top USigma V^top
=VSigma U^top USigma V^top = VSigma^2 V^T,
$$
by diagonalising $A^top A$ and orthonormalising the eigenvectors of the decomposition we can get $V$ and $Sigma$ from this process. The eigenvalues of $Sigma$ are usually sorted in decreasing order. We then just use $A=USigma V^top Longleftrightarrow AV=USigma$ in order to determine $U$.
See also:
https://en.wikipedia.org/wiki/Singular_value_decomposition (Has some good pictures)
https://en.wikipedia.org/wiki/Principal_component_analysis
$endgroup$
add a comment |
$begingroup$
I suggest you read the chapter for the Singular Value Decomposition (SVD) in the book 'Linear Algebra' of Gilbert Strang. There's no other book that explains it more intuitively and clearly. The SVD and PCA have the same purpose in practical applications: Identifying the directions in which the data varies the most. In the end one tries to describe (approximate) the data with fewer dimensions by leaving out the dimensions that don't vary a lot.
I can't explain the whole SVD in detail. But here's the big picture: We'd like to decompose $A$ into $A=USigma V^T$, where $U$ and $V$ have orthogonal columns and $Sigma$ is just a diagonal matrix.
We know that $A^top A$ is symmetric and thus diagonalizable. Since
$$
A^top A = (USigma V^top)^top USigma V^top
=VSigma U^top USigma V^top = VSigma^2 V^T,
$$
by diagonalising $A^top A$ and orthonormalising the eigenvectors of the decomposition we can get $V$ and $Sigma$ from this process. The eigenvalues of $Sigma$ are usually sorted in decreasing order. We then just use $A=USigma V^top Longleftrightarrow AV=USigma$ in order to determine $U$.
See also:
https://en.wikipedia.org/wiki/Singular_value_decomposition (Has some good pictures)
https://en.wikipedia.org/wiki/Principal_component_analysis
$endgroup$
add a comment |
$begingroup$
I suggest you read the chapter for the Singular Value Decomposition (SVD) in the book 'Linear Algebra' of Gilbert Strang. There's no other book that explains it more intuitively and clearly. The SVD and PCA have the same purpose in practical applications: Identifying the directions in which the data varies the most. In the end one tries to describe (approximate) the data with fewer dimensions by leaving out the dimensions that don't vary a lot.
I can't explain the whole SVD in detail. But here's the big picture: We'd like to decompose $A$ into $A=USigma V^T$, where $U$ and $V$ have orthogonal columns and $Sigma$ is just a diagonal matrix.
We know that $A^top A$ is symmetric and thus diagonalizable. Since
$$
A^top A = (USigma V^top)^top USigma V^top
=VSigma U^top USigma V^top = VSigma^2 V^T,
$$
by diagonalising $A^top A$ and orthonormalising the eigenvectors of the decomposition we can get $V$ and $Sigma$ from this process. The eigenvalues of $Sigma$ are usually sorted in decreasing order. We then just use $A=USigma V^top Longleftrightarrow AV=USigma$ in order to determine $U$.
See also:
https://en.wikipedia.org/wiki/Singular_value_decomposition (Has some good pictures)
https://en.wikipedia.org/wiki/Principal_component_analysis
$endgroup$
I suggest you read the chapter for the Singular Value Decomposition (SVD) in the book 'Linear Algebra' of Gilbert Strang. There's no other book that explains it more intuitively and clearly. The SVD and PCA have the same purpose in practical applications: Identifying the directions in which the data varies the most. In the end one tries to describe (approximate) the data with fewer dimensions by leaving out the dimensions that don't vary a lot.
I can't explain the whole SVD in detail. But here's the big picture: We'd like to decompose $A$ into $A=USigma V^T$, where $U$ and $V$ have orthogonal columns and $Sigma$ is just a diagonal matrix.
We know that $A^top A$ is symmetric and thus diagonalizable. Since
$$
A^top A = (USigma V^top)^top USigma V^top
=VSigma U^top USigma V^top = VSigma^2 V^T,
$$
by diagonalising $A^top A$ and orthonormalising the eigenvectors of the decomposition we can get $V$ and $Sigma$ from this process. The eigenvalues of $Sigma$ are usually sorted in decreasing order. We then just use $A=USigma V^top Longleftrightarrow AV=USigma$ in order to determine $U$.
See also:
https://en.wikipedia.org/wiki/Singular_value_decomposition (Has some good pictures)
https://en.wikipedia.org/wiki/Principal_component_analysis
edited Jan 4 '16 at 15:45
answered Jan 4 '16 at 15:30
ndrizzandrizza
493312
493312
add a comment |
add a comment |
$begingroup$
PCA is kind of order reduction. You simply categorize the data to fewer dimensions in a way you can visualized such data. Imagine that you have list of 1000 kinds of win to pick one or two among such a list regards/ based on 5 or 6 or 7.... features.
PCA analysis tool is a vital tool in such a case. PCA allows you to have a clear look on wins based on 2D dimensions (2 factors / 2 PCA's). Such factors/ PCAs take in accounts all the other features(factors) with various
To get more of the physical meaning of PCA, I highly recommend t check the following youtube:
https://www.youtube.com/watch?v=g-Hb26agBFg
Reagrds to the statements you mentioned above:
a) the matrix to diagonalize is the matrix of linear correlations of original variables.
[U,D]=eigs(A'*A) A'*A is the covariance matrix which is more or less (correlation).
b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.
This means that high illustrative variable has high PCA.
Best regards
$endgroup$
add a comment |
$begingroup$
PCA is kind of order reduction. You simply categorize the data to fewer dimensions in a way you can visualized such data. Imagine that you have list of 1000 kinds of win to pick one or two among such a list regards/ based on 5 or 6 or 7.... features.
PCA analysis tool is a vital tool in such a case. PCA allows you to have a clear look on wins based on 2D dimensions (2 factors / 2 PCA's). Such factors/ PCAs take in accounts all the other features(factors) with various
To get more of the physical meaning of PCA, I highly recommend t check the following youtube:
https://www.youtube.com/watch?v=g-Hb26agBFg
Reagrds to the statements you mentioned above:
a) the matrix to diagonalize is the matrix of linear correlations of original variables.
[U,D]=eigs(A'*A) A'*A is the covariance matrix which is more or less (correlation).
b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.
This means that high illustrative variable has high PCA.
Best regards
$endgroup$
add a comment |
$begingroup$
PCA is kind of order reduction. You simply categorize the data to fewer dimensions in a way you can visualized such data. Imagine that you have list of 1000 kinds of win to pick one or two among such a list regards/ based on 5 or 6 or 7.... features.
PCA analysis tool is a vital tool in such a case. PCA allows you to have a clear look on wins based on 2D dimensions (2 factors / 2 PCA's). Such factors/ PCAs take in accounts all the other features(factors) with various
To get more of the physical meaning of PCA, I highly recommend t check the following youtube:
https://www.youtube.com/watch?v=g-Hb26agBFg
Reagrds to the statements you mentioned above:
a) the matrix to diagonalize is the matrix of linear correlations of original variables.
[U,D]=eigs(A'*A) A'*A is the covariance matrix which is more or less (correlation).
b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.
This means that high illustrative variable has high PCA.
Best regards
$endgroup$
PCA is kind of order reduction. You simply categorize the data to fewer dimensions in a way you can visualized such data. Imagine that you have list of 1000 kinds of win to pick one or two among such a list regards/ based on 5 or 6 or 7.... features.
PCA analysis tool is a vital tool in such a case. PCA allows you to have a clear look on wins based on 2D dimensions (2 factors / 2 PCA's). Such factors/ PCAs take in accounts all the other features(factors) with various
To get more of the physical meaning of PCA, I highly recommend t check the following youtube:
https://www.youtube.com/watch?v=g-Hb26agBFg
Reagrds to the statements you mentioned above:
a) the matrix to diagonalize is the matrix of linear correlations of original variables.
[U,D]=eigs(A'*A) A'*A is the covariance matrix which is more or less (correlation).
b) An illustrative variable is well represented on a factorial axis if its contribution is high on this axis.
This means that high illustrative variable has high PCA.
Best regards
answered Mar 28 at 1:37
Mohamed AbugammarMohamed Abugammar
9
9
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1599720%2fquestions-on-pca%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown