pyvision :: vector :: PCA :: PCA :: Class PCA
[hide private]
[frames] | no frames]

Class PCA

source code

Performs principal components analysis on a set of images, features, or vectors.

Instance Methods [hide private]
 
__init__(self, center_points=True, one_std=True)
Create a PCA object
source code
 
__setstate__(self, state) source code
 
addFeature(self, feature)
Add a feature vector to the analysis.
source code
 
toVector(self, feature) source code
 
train(self, drop_front=None, number=None, energy=None)
Compute the PCA basis vectors using the SVD
source code
 
project(self, feature, whiten=False)
Transform a feature into its low dimentional representation
source code
 
reconstruct(self, feat)
return the eigen values for this computation
source code
 
getBasis(self)
return the eigen vectors returned by the computation
source code
 
getValues(self)
return the bases used for transforming features
source code