'Eigenvalue decomposition method to compute eigenvalues and eigenvectors'

def _compute_using_eig(self):

    x = self.transformed_data
    (self.eigenvals, self.eigenvecs) = np.linalg.eigh(x.T.dot(x))
