[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/13: gnu: Add r-nsprcomp.
From: |
guix-commits |
Subject: |
01/13: gnu: Add r-nsprcomp. |
Date: |
Tue, 7 Sep 2021 08:11:47 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 336e618770d9bb70e1595666c8d25b40936e83b5
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Sep 7 12:48:10 2021 +0200
gnu: Add r-nsprcomp.
* gnu/packages/cran.scm (r-nsprcomp): 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 45d162d..9319f97 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -9390,6 +9390,33 @@ and make comparisons between different methodologies
straightforward.")
several entropy estimators.")
(license license:gpl3+)))
+(define-public r-nsprcomp
+ (package
+ (name "r-nsprcomp")
+ (version "0.5.1-2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "nsprcomp" version))
+ (sha256
+ (base32
+ "1zlc1ximx96f235c0l8qfs6vbp1kpnbf943wxsfahnnlnxvwi59f"))))
+ (properties `((upstream-name . "nsprcomp")))
+ (build-system r-build-system)
+ (home-page "https://sigg-iten.ch/research/")
+ (synopsis "Non-negative and sparse PCA")
+ (description
+ "This package implements two methods for performing a constrained
+principal component analysis (PCA), where non-negativity and/or sparsity
+constraints are enforced on the principal axes (PAs). The function
+@code{nsprcomp} computes one principal component (PC) after the other. Each
+PA is optimized such that the corresponding PC has maximum additional variance
+not explained by the previous components. In contrast, the function
+@code{nscumcomp} jointly computes all PCs such that the cumulative variance is
+maximal. Both functions have the same interface as the @code{prcomp} function
+from the @code{stats} package (plus some extra parameters).")
+ (license license:gpl2+)))
+
(define-public r-abcoptim
(package
(name "r-abcoptim")
- branch master updated (aed1504 -> 83f020c), guix-commits, 2021/09/07
- 05/13: gnu: Add r-intergraph., guix-commits, 2021/09/07
- 01/13: gnu: Add r-nsprcomp.,
guix-commits <=
- 04/13: gnu: Add r-netrep., guix-commits, 2021/09/07
- 02/13: gnu: Add r-cmplot., guix-commits, 2021/09/07
- 03/13: gnu: Add r-precrec., guix-commits, 2021/09/07
- 08/13: gnu: Add r-gam., guix-commits, 2021/09/07
- 09/13: gnu: Add r-superlearner., guix-commits, 2021/09/07
- 06/13: gnu: Add r-ggnetwork., guix-commits, 2021/09/07
- 07/13: gnu: Add r-cvauc., guix-commits, 2021/09/07
- 10/13: gnu: Add r-drtmle., guix-commits, 2021/09/07
- 12/13: gnu: Add r-superheat., guix-commits, 2021/09/07
- 11/13: gnu: Add r-dofuture., guix-commits, 2021/09/07