torch.pca_lowrank
- torch.pca_lowrank(A, q=None, center=True, niter=2)
Performs linear Principal Component Analysis (PCA) on a low-rank matrix, batches of such matrices, or sparse matrix.
This function returns a namedtuple
(U,which is the nearly optimal approximation of a singular value decomposition of a centered matrix such that