gnu: Add r-flare.

* gnu/packages/cran.scm (r-flare): New variable.
This commit is contained in:
Ricardo Wurmus 2019-01-09 14:12:39 +01:00 committed by Ricardo Wurmus
parent 029425cbce
commit 3d62d98e69
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 26 additions and 0 deletions

View File

@ -44,6 +44,7 @@
#:use-module (gnu packages gcc) #:use-module (gnu packages gcc)
#:use-module (gnu packages gl) #:use-module (gnu packages gl)
#:use-module (gnu packages gnome) #:use-module (gnu packages gnome)
#:use-module (gnu packages graph)
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages haskell) #:use-module (gnu packages haskell)
#:use-module (gnu packages image) #:use-module (gnu packages image)
@ -8949,3 +8950,28 @@ prior. The algorithm is solved on a path, with coordinate updates, and is
capable of generating very sparse models. Very general model capable of generating very sparse models. Very general model
diagnostics for controlling type-1 errors are also provided.") diagnostics for controlling type-1 errors are also provided.")
(license license:gpl2))) (license license:gpl2)))
(define-public r-flare
(package
(name "r-flare")
(version "1.6.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "flare" version))
(sha256
(base32
"0ygif9a7a99qwv0b488wymmmncp6f5ww9yz13s4qs6p8yf37x1r1"))))
(build-system r-build-system)
(propagated-inputs
`(("r-igraph" ,r-igraph)
("r-lattice" ,r-lattice)
("r-mass" ,r-mass)
("r-matrix" ,r-matrix)))
(home-page "https://cran.r-project.org/web/packages/flare")
(synopsis "Family of Lasso regression implementations")
(description
"This packages provides implementations of a family of Lasso variants
including Dantzig Selector, LAD Lasso, SQRT Lasso, Lq Lasso for estimating
high dimensional sparse linear models.")
(license license:gpl2)))