me
/
guix
Archived
1
0
Fork 0

gnu: Add r-accsda.

* gnu/packages/cran.scm (r-accsda): New variable.
master
Ricardo Wurmus 2019-12-13 18:50:49 +01:00
parent 7199d2a5fc
commit b8d52fe277
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 33 additions and 0 deletions

View File

@ -16827,3 +16827,36 @@ Components. The Lasso solution paths can be computed by the same function.")
"This package performs sparse linear discriminant analysis for Gaussians
and mixture of Gaussian models.")
(license license:gpl2+)))
(define-public r-accsda
(package
(name "r-accsda")
(version "1.0.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "accSDA" version))
(sha256
(base32
"0sgxy5y8kkc1n35657kifwfjsba7y5m1vbr7rkk5lmbpkzahqm61"))))
(properties `((upstream-name . "accSDA")))
(build-system r-build-system)
(propagated-inputs
`(("r-ggplot2" ,r-ggplot2)
("r-ggthemes" ,r-ggthemes)
("r-gridextra" ,r-gridextra)
("r-mass" ,r-mass)
("r-rarpack" ,r-rarpack)
("r-sparselda" ,r-sparselda)))
(home-page "https://github.com/gumeo/accSDA/wiki")
(synopsis "Accelerated sparse discriminant analysis")
(description
"This package provides an implementation of sparse linear discriminant
analysis, which is a supervised classification method for multiple classes.
Various novel optimization approaches to this problem are implemented
including @dfn{alternating direction method of multipliers} (ADMM),
@dfn{proximal gradient} (PG) and @dfn{accelerated proximal gradient} (APG).
Functions for performing cross validation are also supplied along with basic
prediction and plotting functions. @dfn{Sparse zero variance
discriminant} (SZVD) analysis is also included in the package.")
(license license:gpl2+)))