diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-12-14 11:28:50 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-12-14 13:35:57 +0100 |
commit | 2a1fd51864826dd983194a16a49a9e0220f02454 (patch) | |
tree | 9e3f2c3b1829130d3fc32370db5e74b1163d823d /gnu/packages/cran.scm | |
parent | 154555e42fafbbeb45ebc44a2f4de19b41adc2cd (diff) | |
download | guix-2a1fd51864826dd983194a16a49a9e0220f02454.tar guix-2a1fd51864826dd983194a16a49a9e0220f02454.tar.gz |
gnu: Add r-adabag.
* gnu/packages/cran.scm (r-adabag): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r-- | gnu/packages/cran.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 64b6ed9c10..6b64e797ea 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -18298,3 +18298,31 @@ simple, modern C++ library for image processing.") "This package provides a simple method for representing a visual scene as it may be seen by an animal with less acute vision.") (license license:gpl2+))) + +(define-public r-adabag + (package + (name "r-adabag") + (version "4.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "adabag" version)) + (sha256 + (base32 + "109wrl1pwvmyv2l909hrvk7dg4aa9pv449mvdycp50zwrsw9w0a7")))) + (properties `((upstream-name . "adabag"))) + (build-system r-build-system) + (propagated-inputs + `(("r-caret" ,r-caret) + ("r-doparallel" ,r-doparallel) + ("r-foreach" ,r-foreach) + ("r-rpart" ,r-rpart))) + (home-page "https://cran.r-project.org/web/packages/adabag/") + (synopsis "Multiclass AdaBoost.M1, SAMME and Bagging") + (description + "This package implements Freund and Schapire's Adaboost.M1 algorithm and +Breiman's Bagging algorithm using classification trees as individual +classifiers. Once these classifiers have been trained, they can be used to +predict on new data. Also, cross validation estimation of the error can be +done.") + (license license:gpl2+))) |