[Tutor] Help- Regarding python

Steven D'Aprano steve at pearwood.info
Mon Feb 4 15:33:09 CET 2013


On 04/02/13 17:24, Gayathri S wrote:
> Hi All....!
>              If i have data set like this means...
>
> 3626,5000,2918,5000,2353,2334,2642,[...],496.

No need to dump your entire data set on us. Just a few representative
values will do.


> How to do PCA on this data? if it is in array how to do that? and also how
> to use princomp() in PCA?

What's PCA? What's princomp?


> Shall i use the following code for doing PCA on given input? could you tell
> me?

Have you tried it? What happens?

This is a list for people learning Python the programming language. We are not
experts on numpy, which is a specialist package for scientific use. We are not
statisticians either. You can probably assume that most of us know what
"standard deviation" is. Anything more complicated than that, you should ask
on a specialist numpy mailing list.

Good luck!



-- 
Steven


More information about the Tutor mailing list