diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-03-28 18:11:03 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-03-28 18:23:22 +0100 |
commit | d59df3340b0caf28b8b3841bd55459bc67fb0048 (patch) | |
tree | 2a3eace92248771004a41b539571b178ff12dff3 /gnu | |
parent | 8473597f805a33f79a7977ccdc98addeea8bc0c9 (diff) | |
download | guix-d59df3340b0caf28b8b3841bd55459bc67fb0048.tar.gz guix-d59df3340b0caf28b8b3841bd55459bc67fb0048.zip |
gnu: Add r-gbm.
* gnu/packages/cran.scm (r-gbm): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/cran.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 202fba63a0..ff52d433d5 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -13471,3 +13471,30 @@ implementation of an interactive grammar of graphics, taking the best parts of ggplot2, combining them with the reactive framework of Shiny and drawing web graphics using Vega.") (license license:gpl2))) + +(define-public r-gbm + (package + (name "r-gbm") + (version "2.1.5") + (source + (origin + (method url-fetch) + (uri (cran-uri "gbm" version)) + (sha256 + (base32 + "0vs6ljaqhwwpgr8wlbhmm4v147rd82kl16rpaijqiylxcc8dxyq6")))) + (build-system r-build-system) + (propagated-inputs + `(("r-gridextra" ,r-gridextra) + ("r-lattice" ,r-lattice) + ("r-survival" ,r-survival))) + (home-page "https://github.com/gbm-developers/gbm") + (synopsis "Generalized boosted regression models") + (description + "This package is an implementation of extensions to Freund and Schapire's +AdaBoost algorithm and Friedman's gradient boosting machine. It includes +regression methods for least squares, absolute loss, t-distribution loss, +quantile regression, logistic, multinomial logistic, Poisson, Cox proportional +hazards partial likelihood, AdaBoost exponential loss, Huberized hinge loss, +and Learning to Rank measures (LambdaMart).") + (license license:gpl2+))) |