add pca and svd to reduce the dims