guix-commits
[Top][All Lists]
Advanced

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

31/47: gnu: Add r-sparselda.


From: guix-commits
Subject: 31/47: gnu: Add r-sparselda.
Date: Fri, 13 Dec 2019 16:42:19 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 7199d2a5fcd4db00314086947285bbe3f5ea8fc3
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Dec 13 18:50:26 2019 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index a92a487..5c0d44e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -16803,3 +16803,27 @@ data.")
 the Elastic-Net and also provides functions for estimating sparse Principal
 Components.  The Lasso solution paths can be computed by the same function.")
     (license license:gpl2+)))
+
+(define-public r-sparselda
+  (package
+    (name "r-sparselda")
+    (version "0.1-9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "sparseLDA" version))
+       (sha256
+        (base32
+         "1k3sw9kc40yxnfss4vrsx34qxmv8ssddyhbfjhxrdldvblhbwchb"))))
+    (properties `((upstream-name . "sparseLDA")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-elasticnet" ,r-elasticnet)
+       ("r-mass" ,r-mass)
+       ("r-mda" ,r-mda)))
+    (home-page "http://www.imm.dtu.dk/~lhc";)
+    (synopsis "Sparse discriminant analysis")
+    (description
+     "This package performs sparse linear discriminant analysis for Gaussians
+and mixture of Gaussian models.")
+    (license license:gpl2+)))



reply via email to

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