mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 10:16:45 +01:00
gnu: Add r-adabag.
* gnu/packages/cran.scm (r-adabag): New variable.
This commit is contained in:
parent
154555e42f
commit
2a1fd51864
1 changed files with 28 additions and 0 deletions
|
@ -18298,3 +18298,31 @@ (define-public r-acuityview
|
||||||
"This package provides a simple method for representing a visual scene as
|
"This package provides a simple method for representing a visual scene as
|
||||||
it may be seen by an animal with less acute vision.")
|
it may be seen by an animal with less acute vision.")
|
||||||
(license license:gpl2+)))
|
(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+)))
|
||||||
|
|
Loading…
Reference in a new issue