gnu: Add r-rose.

* gnu/packages/cran.scm (r-rose): New variable.

Change-Id: I403f1ca3bd7d9d5bf13045e9e6f1a1809f3622d9
This commit is contained in:
Ricardo Wurmus 2024-11-26 17:20:30 +01:00
parent 07dbd4a5a7
commit ec3f52f1a8
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2027,6 +2027,29 @@ (define-public r-robustrankaggreg
significance probabilities for all the elements in the final ranking.")
(license license:gpl2)))
(define-public r-rose
(package
(name "r-rose")
(version "0.0-4")
(source
(origin
(method url-fetch)
(uri (cran-uri "ROSE" version))
(sha256
(base32 "0y3v9zkgaxpv4f4zn22ra1gkkqg5hdz8js47ppciqahfydjbfl3p"))))
(properties `((upstream-name . "ROSE")))
(build-system r-build-system)
(home-page "https://cran.r-project.org/package=ROSE")
(synopsis "Random over-sampling examples")
(description
"This package provides functions to deal with binary classification
problems in the presence of imbalanced classes. Synthetic balanced samples
are generated according to ROSE (Menardi and Torelli, 2013). Functions that
implement more traditional remedies to the class imbalance are also provided,
as well as different metrics to evaluate a learner accuracy. These are
estimated by holdout, bootstrap or cross-validation methods.")
(license license:gpl2)))
(define-public r-rotor
(package
(name "r-rotor")