correlation - Why PCA gives vector as output for 294*40 matrix in matlab -
i new stats , matlab too. have feature selection in project used principle component analysis(pca).
i referred tutorial use pca in matlab
my code given below,
pcainput = rand(294,40); disp(size(pcainput)) % output 294 40 pcaoutput=pca(pcainput); disp(size(pcaoutput)) % output 40 1 , unacceptable per tutorial %that's
as per tutorial , if input matrix of pca() function has p variables , output p*p matrix.so function should give me matrix of 40*40 giving me matrix of 40*1. going wrong ?
as per tutorial , output unacceptable. searched on internet , can not find article on topic.
Comments
Post a Comment