summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>2023-01-17 13:25:36 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-01-22 08:56:51 +0100
commita46f753051b85464c833402895cb10fce05ea296 (patch)
tree01c442976cbad54373c0fea718c2adade3e2a94d /gnu
parent63b7039cc188dd510aee2702f26c3d1f1861b95b (diff)
gnu: Add r-missforest.
* gnu/packages/cran.scm (r-missforest): New variable.
Diffstat (limited to 'gnu')
-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 d94e2d4c59..c208fa85f4 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -15302,6 +15302,36 @@ isosurfaces.")
;; Any version of the GPL.
(license (list license:gpl2+ license:gpl3+))))
+(define-public r-missforest
+ (package
+ (name "r-missforest")
+ (version "1.5")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "missForest" version))
+ (sha256
+ (base32
+ "13c38hpl60ca1kwyv61cxsla6ccmsj4qzp0vrxcq7b827fh5aw21"))))
+ (properties `((upstream-name . "missForest")))
+ (build-system r-build-system)
+ (propagated-inputs
+ (list r-dorng
+ r-foreach
+ r-iterators
+ r-itertools
+ r-randomforest))
+ (home-page "https://github.com/stekhoven/missForest")
+ (synopsis "Nonparametric missing value imputation using Random Forest")
+ (description
+ "The function @code{missForest} in this package is used to impute missing
+values, particularly in the case of mixed-type data. It uses a random forest
+trained on the observed values of a data matrix to predict the missing values.
+It can be used to impute continuous and/or categorical data, including complex
+interactions and non-linear relations. It yields an @acronym{OOB, out-of-bag}
+imputation error estimate without the need of a test set or elaborate cross-
+validation. It can be run in parallel to save computation time.")
+ (license license:gpl2+)))
+
(define-public r-ks
(package
(name "r-ks")