[Tutor] Help- Regarding python

Danny Yoo dyoo at hashcollision.org
Mon Feb 4 19:49:41 CET 2013


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


Principal component analysis,

    http://en.wikipedia.org/wiki/Principal_component_analysis

may not be "built in".  Do you know for sure that it is?  According to
this blog entry, you can do it in numpy by coding the algorithm:

    http://glowingpython.blogspot.com/2011/07/principal-component-analysis-with-numpy.html

If you use Google and search for the term "Principal component
analysis Python", you should see several implementations of modules
that provide that algorithm.


More information about the Tutor mailing list