unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Lo Peter <peterloleungyau@gmail.com>
To: 41986@debbugs.gnu.org
Subject: [bug#41986] [PATCH] gnu: Add r-boruta.
Date: Sun, 21 Jun 2020 23:48:59 +0800	[thread overview]
Message-ID: <CAEM+zmjUjK8tAJjO18JrCVGvyn6FTn5nuKCqEWDcC=pXMHKatA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 39 bytes --]

Generated by import, tested on x86_64.

[-- Attachment #2: 0001-gnu-Add-r-boruta.patch --]
[-- Type: text/x-patch, Size: 1621 bytes --]

From 50db03bb6b1ead282a465010baa7733bed7ce3d9 Mon Sep 17 00:00:00 2001
From: Peter Lo <peterloleungyau@gmail.com>
Date: Sun, 21 Jun 2020 23:28:05 +0800
Subject: [PATCH] gnu: Add r-boruta.

* gnu/packages/statistics.scm (r-boruta): New variable.
---
 gnu/packages/statistics.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 482eea9..9e613cd 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -5902,3 +5902,24 @@ Java package that provides routines for various statistical distributions.")
 Emacs.  It is designed to support editing of scripts and interaction with
 various statistical analysis programs such as R, Julia, and JAGS.")
     (license license:gpl2+)))
+
+(define-public r-boruta
+  (package
+    (name "r-boruta")
+    (version "7.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "Boruta" version))
+        (sha256
+          (base32
+            "0y2w4wb45kfnzrxcrdsiwgal9fsnlr3wad1sqdc70qv8gp921xbg"))))
+    (properties `((upstream-name . "Boruta")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-ranger" ,r-ranger)))
+    (home-page "https://gitlab.com/mbq/Boruta/")
+    (synopsis
+      "Wrapper Algorithm for All Relevant Feature Selection")
+    (description
+      "An all relevant feature selection wrapper algorithm.  It finds relevant features by comparing original attributes' importance with importance achievable at random, estimated using their permuted copies (shadows).")
+    (license license:gpl2+)))
-- 
2.9.0


             reply	other threads:[~2020-06-21 16:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-21 15:48 Lo Peter [this message]
2020-06-21 22:48 ` bug#41986: [PATCH] gnu: Add r-boruta Leo Famulari

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='CAEM+zmjUjK8tAJjO18JrCVGvyn6FTn5nuKCqEWDcC=pXMHKatA@mail.gmail.com' \
    --to=peterloleungyau@gmail.com \
    --cc=41986@debbugs.gnu.org \
    /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).