[bug#41986] gnu: Add r-boruta.
diff mbox series

Message ID CAEM+zmjUjK8tAJjO18JrCVGvyn6FTn5nuKCqEWDcC=pXMHKatA@mail.gmail.com
State New
Headers show
Series
  • [bug#41986] gnu: Add r-boruta.
Related show

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch fail View Laminar job

Commit Message

Peter Lo June 21, 2020, 3:48 p.m. UTC
Generated by import, tested on x86_64.

Comments

Leo Famulari June 21, 2020, 10:48 p.m. UTC | #1
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

Patch
diff mbox series

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