aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-09-10 00:35:45 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-09-18 11:33:24 +0200
commitd26b7c1bfc4da0696e05462cd352b6f09bb03a7f (patch)
treeb8c424b2ddae113ba080266a4aa5b3bfd8edf696 /gnu
parent797e1dfbf209e7b4cb23fcce6074933ba2e98058 (diff)
downloadpatches-d26b7c1bfc4da0696e05462cd352b6f09bb03a7f.tar
patches-d26b7c1bfc4da0696e05462cd352b6f09bb03a7f.tar.gz
gnu: Add r-drr.
* gnu/packages/cran.scm (r-drr): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f424b6d86e..6d4d694b6e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -982,3 +982,27 @@ contexts.")
"This package provides tools for the estimation and simulation of latent
variable models.")
(license license:gpl3)))
+
+(define-public r-drr
+ (package
+ (name "r-drr")
+ (version "0.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "DRR" version))
+ (sha256
+ (base32
+ "1scfwp6ry6apxzqjclsmn2frxp9qfw6zxsxn5w0j0q3sz42hz1h2"))))
+ (properties `((upstream-name . "DRR")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-cvst" ,r-cvst)
+ ("r-kernlab" ,r-kernlab)
+ ("r-matrix" ,r-matrix)))
+ (home-page "http://cran.r-project.org/web/packages/DRR")
+ (synopsis "Dimensionality reduction via regression")
+ (description
+ "This package provides an implementation of dimensionality reduction via
+regression using Kernel Ridge Regression.")
+ (license license:gpl3)))