Package: softImpute 1.4-3

softImpute: Matrix Completion via Iterative Soft-Thresholded SVD

Iterative methods for matrix completion that use nuclear-norm regularization. There are two main approaches.The one approach uses iterative soft-thresholded svds to impute the missing values. The second approach uses alternating least squares. Both have an 'EM' flavor, in that at each iteration the matrix is completed with the current estimate. For large matrices there is a special sparse-matrix class named "Incomplete" that efficiently handles all computations. The package includes procedures for centering and scaling rows, columns or both, and for computing low-rank SVDs on large sparse centered matrices (i.e. principal components).

Authors:Trevor Hastie [aut, cre], Rahul Mazumder [aut], Balasubramanian Narasimhan [ctb]

softImpute_1.4-3.tar.gz
softImpute_1.4-3.zip(r-4.7)softImpute_1.4-3.zip(r-4.6)softImpute_1.4-3.zip(r-4.5)
softImpute_1.4-3.tgz(r-4.6-x86_64)softImpute_1.4-3.tgz(r-4.6-arm64)softImpute_1.4-3.tgz(r-4.5-x86_64)softImpute_1.4-3.tgz(r-4.5-arm64)
softImpute_1.4-3.tar.gz(r-4.7-arm64)softImpute_1.4-3.tar.gz(r-4.7-x86_64)softImpute_1.4-3.tar.gz(r-4.6-arm64)softImpute_1.4-3.tar.gz(r-4.6-x86_64)
softImpute_1.4-3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
softImpute/json (API)

# Install 'softImpute' in R:
install.packages('softImpute', repos = c('https://trevorhastie.r-universe.dev', 'https://cloud.r-project.org'))

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

8.47 score 9 stars 24 packages 352 scripts 2.6k downloads 12 mentions 23 exports 2 dependencies

Last updated from:10c21a39d4. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK126
linux-devel-x86_64OK136
source / vignettesOK175
linux-release-arm64OK120
linux-release-x86_64OK136
macos-release-arm64OK154
macos-release-x86_64OK246
macos-oldrel-arm64OK93
macos-oldrel-x86_64OK250
windows-develOK117
windows-releaseOK107
windows-oldrelOK94
wasm-releaseOK104

Exports:as.matrixbiScaleclean.warm.startcolMeanscolSumscompletedeBiasimputeIncompletelambda0normrowMeansrowSumssimpute.alssimpute.svdsoftImputesoftImpute.x.IncompletesoftImpute.x.matrixsplrSsimpute.alsSsimpute.svdSsvd.alssvd.als

Dependencies:latticeMatrix

An Introduction to softImpute

Rendered fromsoftImpute.Rmdusingknitr::rmarkdownon May 12 2026.

Last update: 2025-05-07
Started: 2015-02-13

Readme and manuals

Help Manual

Help pageTopics
Standardize a matrix to have optionally row means zero and variances one, and/or column means zero and variances one.biScale
rdname softImpute-internalclean.warm.start
Recompute the '$d' component of a '"softImpute"' object through regression.deBias
make predictions from an svd objectcomplete complete,Incomplete-method complete,matrix-method impute
create a matrix of class 'Incomplete'coerce,matrix-method Incomplete
Class '"Incomplete"'as.matrix,Incomplete-method coerce,matrix,Incomplete-method coerce,sparseMatrix,Incomplete-method Incomplete-class
compute the smallest value for 'lambda' such that 'softImpute(x,lambda)' returns the zero solution.lambda0 lambda0,Incomplete-method lambda0,sparseMatrix-method lambda0,SparseplusLowRank-method
rdname softImpute-internalsimpute.als
rdname softImpute-internalsimpute.svd
impute missing values for a matrix via nuclear-norm regularization.softImpute
rdname softImpute-internalsoftImpute.x.Incomplete
Internal softImpute functionssoftImpute.x.matrix
Class '"SparseplusLowRank"'%*%,ANY,SparseplusLowRank-method %*%,Matrix,SparseplusLowRank-method %*%,SparseplusLowRank,ANY-method %*%,SparseplusLowRank,Matrix-method as.matrix,SparseplusLowRank-method colMeans,SparseplusLowRank-method colSums,SparseplusLowRank-method dim,SparseplusLowRank-method norm,SparseplusLowRank,character-method rowMeans,SparseplusLowRank-method rowSums,SparseplusLowRank-method SparseplusLowRank-class
create a 'SparseplusLowRank' objectsplr
rdname softImpute-internalSsimpute.als
rdname softImpute-internalSsimpute.svd
rdname softImpute-internalSsvd.als
compute a low rank soft-thresholded svd by alternating orthogonal ridge regressionsvd.als svd.als,sparseMatrix-method svd.als,SparseplusLowRank-method