Subject: bug#76630: closed (Re: [bug#76630] [PATCH] gnu: Add r-randomforestexplainer.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 01 Mar 2025 23:00:04 +0000

Your bug report

#76630: [PATCH] gnu: Add r-randomforestexplainer.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
76630: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76630
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#76630] [PATCH] gnu: Add r-randomforestexplainer.
From: Christopher Baines <[email-masked]>
To: "King, Spencer via Guix-patches" via <[email-masked]>
Cc: [email-masked]
Date: Sat, 01 Mar 2025 22:59:11 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

"King, Spencer via Guix-patches" via <[email-masked]> writes:

> [2. 0001-gnu-Add-r-randomforestexplainer.patch --- text/x-patch; 0001-gnu-Add-r-randomforestexplainer.patch]...

Thanks, I've pushed this to master as
b9d183e567edf147fd3fc63630fadb149825ba20.

Chris

Subject: [PATCH] gnu: Add r-randomforestexplainer.
From: "King, Spencer" <[email-masked]>
To: "King, Spencer via Guix-patches via" <[email-masked]>
Cc: Ricardo Wurmus <[email-masked]>, "[email-masked]" <[email-masked]>, "[email-masked]" <[email-masked]>
Date: Fri, 28 Feb 2025 04:22:38 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

From 6e6e7521eac6cfd2227946eebcc85c68438fd0b8 Mon Sep 17 00:00:00 2001
From: Spencer King <[email-masked]>
Date: Fri, 14 Feb 2025 17:20:25 -0600
Subject: [PATCH] gnu: Add r-randomforestexplainer.

* gnu/packages/cran.scm (r-randomforestexplainer): New variable.

Change-Id: I9236716971219c55850440f8cbae022f5641eebc
---
 gnu/packages/cran.scm | 38 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 37 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3d6ea6be28..863ef26af3 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -38,7 +38,7 @@
 ;;; Copyright © 2022-2024 Navid Afkhami <[email-masked]>
 ;;; Copyright © 2022 Greg Hogan <[email-masked]>
 ;;; Copyright © 2024 Marco Baggio <[email-masked]>
-;;; Copyright © 2024 Spencer King <[email-masked]>
+;;; Copyright © 2024, 2025 Spencer King <[email-masked]>
 ;;; Copyright © 2024 Tor-björn Claesson <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -43999,6 +43999,42 @@ (define-public r-gsalib
 for variant discovery in high-throughput sequencing data.")
     (license license:expat)))
 
+(define-public r-randomforestexplainer
+  (package
+    (name "r-randomforestexplainer")
+    (version "0.10.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "randomForestExplainer" version))
+       (sha256
+        (base32 "1ny8c3vn2zvdx12avwvlm4lp648jigkrkcvnhf5qmj8rh0w069v0"))))
+    (properties `((upstream-name . "randomForestExplainer")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-data-table
+                             r-dplyr
+                             r-dt
+                             r-ggally
+                             r-ggplot2
+                             r-ggrepel
+                             r-randomforest
+                             r-ranger
+                             r-reshape2
+                             r-rmarkdown))
+    (native-inputs (list r-knitr r-testthat))
+    (home-page "https://github.com/ModelOriented/randomForestExplainer")
+    (synopsis
+     "Explaining and Visualizing Random Forests in Terms of Variable Importance")
+    (description
+     "This package provides a set of tools to help explain which variables are most
+important in a random forests.  Various variable importance measures are
+calculated and visualized in different settings in order to get an idea on how
+their importance changes depending on our criteria (Hemant Ishwaran and Udaya B.
+Kogalur and Eiran Z. Gorodeski and Andy J. Minn and Michael S. Lauer (2010)
+<doi:10.1198/jasa.2009.tm08622>, Leo Breiman (2001)
+<doi:10.1023/A:1010933404324>).")
+    (license (list license:gpl2+ license:gpl3+))))
+
 (define-public r-randomforestsrc
   (package
     (name "r-randomforestsrc")

base-commit: 4b5f0408e66392ab745dc0f7830732217d88f17d
-- 
2.41.0