Subject: bug#76804: closed ([PATCH] gnu: Add r-intrees.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 10 Mar 2025 19:53:02 +0000

Your bug report

#76804: [PATCH] gnu: Add r-intrees.

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

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

Subject: [PATCH] gnu: Add r-intrees.
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Mon, 10 Mar 2025 20:52:01 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Applied to master branch with commit 
31735c4e15c9b2c4caac95ffac3263a9d826e80c.  Thanks!

-- 
Ricardo

Subject: [PATCH] gnu: Add r-intrees.
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, 7 Mar 2025 07:56:08 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

From a1dbd35f17c734681e283bee63e6f95b875eedfd Mon Sep 17 00:00:00 2001
From: Spencer King <[email-masked]>
Date: Thu, 6 Mar 2025 23:40:25 -0600
Subject: [PATCH] gnu: Add r-intrees.

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

Change-Id: Ia26bd283593ab4c6422e9e4e920b643e04bf5712
---
 gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d83589afbd..8522eb07a5 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -44087,6 +44087,35 @@ (define-public r-gsalib
 for variant discovery in high-throughput sequencing data.")
     (license license:expat)))
 
+(define-public r-intrees
+  (package
+    (name "r-intrees")
+    (version "1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "inTrees" version))
+       (sha256
+        (base32 "18gbw7v4xbsxdifk32qga3h3j17w40ljs1mkk0b4fzwin9z4sh27"))))
+    (properties `((upstream-name . "inTrees")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-arules
+                             r-data-table
+                             r-gbm
+                             r-rrf
+                             r-xgboost
+                             r-xtable))
+    (home-page "https://cran.r-project.org/package=inTrees")
+    (synopsis "Interpret Tree Ensembles")
+    (description
+     "For tree ensembles such as random forests, regularized random forests and
+gradient boosted trees, this package provides functions for: extracting,
+measuring and pruning rules; selecting a compact rule set; summarizing rules
+into a learner; calculating frequent variable interactions; formatting rules in
+latex code.  Reference: Interpreting tree ensembles with @code{inTrees} (Houtao
+Deng, 2019, <doi:10.1007/s41060-018-0144-8>).")
+    (license license:gpl3+)))
+
 (define-public r-randomforestexplainer
   (package
     (name "r-randomforestexplainer")

base-commit: 20f00058d7fff1e54ba7d3f4f56deed174135cbe
-- 
2.41.0