unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
To: <60877@debbugs.gnu.org>
Cc: rekado@elephly.net
Subject: [bug#60877] [PATCH 2/4] gnu: Add r-missforest.
Date: Tue, 17 Jan 2023 13:25:36 +0100	[thread overview]
Message-ID: <20230117122538.41537-2-madalinionel.patrascu@mdc-berlin.de> (raw)
In-Reply-To: <20230117122538.41537-1-madalinionel.patrascu@mdc-berlin.de>

* gnu/packages/cran.scm (r-missforest): New variable.
---
 gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 53f3ebbcf5..6ae5b96eb2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -15227,6 +15227,36 @@ (define-public r-misc3d
     ;; 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")
-- 
2.38.1





  reply	other threads:[~2023-01-17 13:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-17 12:22 [bug#60877] [PATCH] gnu: Add r-baseline, r-missforest, r-speaq and r-alpsnmr MadalinIonel.Patrascu
2023-01-17 12:25 ` [bug#60877] [PATCH 1/4] gnu: Add r-baseline Mădălin Ionel Patrașcu
2023-01-17 12:25   ` Mădălin Ionel Patrașcu [this message]
2023-01-17 12:25   ` [bug#60877] [PATCH 3/4] gnu: Add r-speaq Mădălin Ionel Patrașcu
2023-01-17 12:25   ` [bug#60877] [PATCH 4/4] gnu: Add r-alpsnmr Mădălin Ionel Patrașcu
2023-01-22  8:09   ` bug#60877: [PATCH 1/4] gnu: Add r-baseline Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230117122538.41537-2-madalinionel.patrascu@mdc-berlin.de \
    --to=madalinionel.patrascu@mdc-berlin.de \
    --cc=60877@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).