Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/p/y/pymeg-HEAD/meg/pca.py   pymeg(Download)
 
from Numeric import *
from MLab import svd, std, cov
 
class PCA:
                # In such a case the value 0 is written in the matrix
                try:
                    self.correlationLoadings[PC, var] = cov(PCscores, origVar) / (PCscoresSTD * origVarSTD)
 
                except OverflowError: