summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-05-10 13:00:36 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-05-10 13:31:03 +0200
commit30f1029f4c512e3f8ffc6eccd83ce1653eaf5d6c (patch)
tree7e255d79fa3cb66913d82e630d8725579fbdb6ca /gnu/packages/cran.scm
parent29591ca61187ff503e2957ac2a349b01e5d510f8 (diff)
downloadguix-30f1029f4c512e3f8ffc6eccd83ce1653eaf5d6c.tar.gz
gnu: Add r-xgboost.
* gnu/packages/cran.scm (r-xgboost): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 16da3c2782..e55adbf2fd 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -14431,3 +14431,33 @@ into R and converted to @code{BibEntry} objects.")
 BibTeX or BibLaTeX file to create and insert formatted Markdown citations into
 the current document.")
     (license license:expat)))
+
+(define-public r-xgboost
+  (package
+    (name "r-xgboost")
+    (version "0.82.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "xgboost" version))
+       (sha256
+        (base32
+         "0plhx63wcm4syslzmjfv6bdgaqn96fnav048hrj0vxk4dzgfp8sq"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-data-table" ,r-data-table)
+       ("r-magrittr" ,r-magrittr)
+       ("r-matrix" ,r-matrix)
+       ("r-stringi" ,r-stringi)))
+    (home-page "https://github.com/dmlc/xgboost")
+    (synopsis "Extreme gradient boosting")
+    (description
+     "This package provides an R interface to Extreme Gradient Boosting, which
+is an efficient implementation of the gradient boosting framework from Chen
+and Guestrin (2016).  The package includes efficient linear model solver and
+tree learning algorithms.  The package can automatically do parallel
+computation on a single machine.  It supports various objective functions,
+including regression, classification and ranking.  The package is made to be
+extensible, so that users are also allowed to define their own objectives
+easily.")
+    (license license:asl2.0)))