Matlab Question - Principal Component Analysis
Posted
by
Jack
on Stack Overflow
See other posts from Stack Overflow
or by Jack
Published on 2011-02-10T20:17:55Z
Indexed on
2011/02/10
23:26 UTC
Read the original article
Hit count: 234
matlab
I have a set of 100 observations where each observation has 45 characteristics. And each one of those observations have a label attached which I want to predict based on those 45 characteristics. So it's an input matrix with the dimension 45 x 100 and a target matrix with the dimension 1 x 100.
The thing is that I want to know how many of those 45 characteristics are relevant in my set of data, basically the principal component analysis, and I understand that I can do this with Matlab function processpca
.
Could you please tell me how can I do this? Suppose that the input matrix is x
with 45 rows and 100 columns and y
is a vector with 100 elements.
© Stack Overflow or respective owner