def _cov_eigen(self, X):

        v, W = eigen_symmetric(X.T.dot(X) / X.shape[0], k=self.num_components)

        # The resulting components are in *ascending* order of eigenvalue, and
        # W contains eigenvectors in its *columns*, so we simply reverse both.
        return v[::-1], W[:, ::-1]
For display in the http monitor
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/pca.py/SparsePCA._cov_eigen--crossover with--dataset/ETHPy150Open simplecrypto/powerpool/powerpool/main.py/PowerPool.status