[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/23: gnu: Add r-penalized.
From: |
guix-commits |
Subject: |
21/23: gnu: Add r-penalized. |
Date: |
Tue, 12 Mar 2019 17:48:08 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit be0777ba865550e3bc80d6ef962e230233bae45f
Author: Ricardo Wurmus <address@hidden>
Date: Tue Mar 12 22:27:10 2019 +0100
gnu: Add r-penalized.
* gnu/packages/cran.scm (r-penalized): New variable.
---
gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d087ffd..0c789dd 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -11260,3 +11260,31 @@ nested and non-nested models. The package also
includes functionality to
obtain confidence intervals associated with AIC and BIC.")
;; Either version of the GPL.
(license (list license:gpl2 license:gpl3))))
+
+(define-public r-penalized
+ (package
+ (name "r-penalized")
+ (version "0.9-51")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "penalized" version))
+ (sha256
+ (base32
+ "1zcrwa93mc27qj3g4ayc2k895r6g8q0g6qb2azmvj7wqk750va7a"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-rcpp" ,r-rcpp)
+ ("r-rcpparmadillo" ,r-rcpparmadillo)
+ ("r-survival" ,r-survival)))
+ (home-page "https://cran.r-project.org/web/packages/penalized/")
+ (synopsis "Penalized estimation in GLMs and in the Cox model")
+ (description
+ "This package provides tools for fitting possibly high dimensional
+penalized regression models. The penalty structure can be any combination of
+an L1 penalty (lasso and fused lasso), an L2 penalty (ridge) and a positivity
+constraint on the regression coefficients. The supported regression models
+are linear, logistic and Poisson regression and the Cox Proportional Hazards
+model. Cross-validation routines allow optimization of the tuning
+parameters.")
+ (license license:gpl2+)))
- branch master updated (e80a809 -> 173c996), guix-commits, 2019/03/12
- 22/23: gnu: Add r-zim., guix-commits, 2019/03/12
- 21/23: gnu: Add r-penalized.,
guix-commits <=
- 20/23: gnu: Add r-nonnest2., guix-commits, 2019/03/12
- 16/23: gnu: Add r-moments., guix-commits, 2019/03/12
- 17/23: gnu: Add r-msir., guix-commits, 2019/03/12
- 23/23: gnu: Add r-deds., guix-commits, 2019/03/12
- 18/23: gnu: Add r-pbivnorm., guix-commits, 2019/03/12
- 13/23: gnu: Add r-drimpute., guix-commits, 2019/03/12
- 11/23: gnu: Add r-compositions., guix-commits, 2019/03/12
- 19/23: gnu: Add r-lavaan., guix-commits, 2019/03/12
- 15/23: gnu: Add r-minpack-lm., guix-commits, 2019/03/12
- 09/23: gnu: Add r-tensora., guix-commits, 2019/03/12