powered by
Applies the shrinkage operator for singular value tresholding.
mat_shrink(K, tau)
matrix
regularization parameter
Matrix
# NOT RUN { mat_shrink(matrix(c(1,0,0,0,1,1,1,1,1), nrow=3, ncol=3, byrow=TRUE),0.35) # }
Run the code above in your browser using DataLab