mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add r-glmnet.
* gnu/packages/statistics.scm (r-glmnet): New variable.
This commit is contained in:
parent
84d08af653
commit
c7f04517a6
1 changed files with 26 additions and 0 deletions
|
@ -2244,6 +2244,32 @@ (define-public r-irlba
|
||||||
analysis of large sparse or dense matrices.")
|
analysis of large sparse or dense matrices.")
|
||||||
(license (list license:gpl2+ license:gpl3+))))
|
(license (list license:gpl2+ license:gpl3+))))
|
||||||
|
|
||||||
|
(define-public r-glmnet
|
||||||
|
(package
|
||||||
|
(name "r-glmnet")
|
||||||
|
(version "2.0-5")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (cran-uri "glmnet" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1cbpzmbv837fvq88rgn6mgzgr9f1wqp9fg8gh2kkmngvr1957a9c"))))
|
||||||
|
(build-system r-build-system)
|
||||||
|
(inputs
|
||||||
|
`(("gfortran" ,gfortran)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("r-foreach" ,r-foreach)))
|
||||||
|
(home-page "http://www.jstatsoft.org/v33/i01")
|
||||||
|
(synopsis "Lasso and elastic-net regularized generalized linear models")
|
||||||
|
(description
|
||||||
|
"The glmnet package provides efficient procedures for fitting the entire
|
||||||
|
lasso or elastic-net regularization path for linear and Poisson regression, as
|
||||||
|
well as logistic, multinomial, Cox, multiple-response Gaussian and grouped
|
||||||
|
multinomial models. The algorithm uses cyclical coordinate descent in a
|
||||||
|
path-wise fashion.")
|
||||||
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public r-pkgmaker
|
(define-public r-pkgmaker
|
||||||
(package
|
(package
|
||||||
(name "r-pkgmaker")
|
(name "r-pkgmaker")
|
||||||
|
|
Loading…
Reference in a new issue