guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/18: gnu: Add r-softimpute.


From: guix-commits
Subject: 04/18: gnu: Add r-softimpute.
Date: Mon, 7 Jan 2019 12:44:12 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 71601a5d9218b8b3440d58865baf7705b930c585
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Jan 4 17:29:13 2019 +0100

    gnu: Add r-softimpute.
    
    * gnu/packages/cran.scm (r-softimpute): New variable.
---
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index dba3f87..01df04b 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -8510,3 +8510,30 @@ with p-value calculation based on Marsaglia's 2004 paper 
\"Evaluating the
 Anderson-Darling Distribution\".")
     ;; Any version of the GPL.
     (license license:gpl3+)))
+
+(define-public r-softimpute
+  (package
+    (name "r-softimpute")
+    (version "1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "softImpute" version))
+       (sha256
+        (base32
+         "07cxbzkl08q58m1455i139952rmryjlic4s2f2hscl5zxxmfdxcq"))))
+    (properties `((upstream-name . "softImpute")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-matrix" ,r-matrix)))
+    (native-inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "https://cran.r-project.org/web/packages/softImpute";)
+    (synopsis "Matrix completion via iterative soft-thresholded SVD")
+    (description
+     "This package provides iterative methods for matrix completion that use
+nuclear-norm regularization.  The package includes procedures for centering
+and scaling rows, columns or both, and for computing low-rank @dfn{single
+value decompositions} (SVDs) on large sparse centered matrices (i.e. principal
+components).")
+    (license license:gpl2)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]