unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41986] [PATCH] gnu: Add r-boruta.
@ 2020-06-21 15:48 Lo Peter
  2020-06-21 22:48 ` bug#41986: " Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Lo Peter @ 2020-06-21 15:48 UTC (permalink / raw)
  To: 41986

[-- 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#41986: [PATCH] gnu: Add r-boruta.
  2020-06-21 15:48 [bug#41986] [PATCH] gnu: Add r-boruta Lo Peter
@ 2020-06-21 22:48 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2020-06-21 22:48 UTC (permalink / raw)
  To: Lo Peter; +Cc: 41986-done

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

On Sun, Jun 21, 2020 at 11:48:59PM +0800, Lo Peter wrote:
> Generated by import, tested on x86_64.

> 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.

Thanks! I reindented as suggested by `guix lint` and pushed as
1d97e871dd60e80abf647fdd9bf50af8039c01e3

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-21 22:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-21 15:48 [bug#41986] [PATCH] gnu: Add r-boruta Lo Peter
2020-06-21 22:48 ` bug#41986: " Leo Famulari

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).