GNU bug report logs - #42090
[PATCH] gnu: Add r-shapforxgboost.

Previous Next

Package: guix-patches;

Reported by: Peter Lo <peterloleungyau <at> gmail.com>

Date: Sat, 27 Jun 2020 17:50:01 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42090 in the body.
You can then email your comments to 42090 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#42090; Package guix-patches. (Sat, 27 Jun 2020 17:50:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Lo <peterloleungyau <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 27 Jun 2020 17:50:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Lo <peterloleungyau <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Peter Lo <peterloleungyau <at> gmail.com>
Subject: [PATCH] gnu: Add r-shapforxgboost.
Date: Sun, 28 Jun 2020 01:48:58 +0800
* gnu/packages/cran.scm (r-shapforxgboost): New variable.
---
 gnu/packages/cran.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ab5e57c0e2..8e2a9433c1 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22325,3 +22325,38 @@ across a wide array of bioinformatic R packages.")
 and clustering large sequence datasets using fast alignment-free k-mer
 counting and recursive k-means partitioning.")
     (license license:gpl3)))
+
+(define-public r-shapforxgboost
+  (package
+    (name "r-shapforxgboost")
+    (version "0.0.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "SHAPforxgboost" version))
+        (sha256
+          (base32
+            "0k6bg27wqnkzv82bcahbapmqhiz6rvnx81m23zbjw58c7lwshgnq"))))
+    (properties
+      `((upstream-name . "SHAPforxgboost")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-bbmisc" ,r-bbmisc)
+        ("r-data-table" ,r-data-table)
+        ("r-ggextra" ,r-ggextra)
+        ("r-ggforce" ,r-ggforce)
+        ("r-ggplot2" ,r-ggplot2)
+        ("r-ggpubr" ,r-ggpubr)
+        ("r-rcolorbrewer" ,r-rcolorbrewer)
+        ("r-xgboost" ,r-xgboost)))
+    (home-page
+      "https://github.com/liuyanguu/SHAPforxgboost")
+    (synopsis "SHAP Plots for 'XGBoost'")
+    (description
+      "The aim of @code{SHAPforxgboost} is to aid in visual data
+investigations using SHAP (SHapley Additive exPlanation) visualization
+plots for @code{XGBoost}.  It provides summary plot, dependence plot,
+interaction plot, and force plot.  It relies on the 'dmlc/xgboost'
+package to produce SHAP values.  Please refer to 'slundberg/shap' for
+the original implementation of SHAP in 'Python'.")
+    (license license:expat)))
-- 
2.17.1





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Sat, 27 Jun 2020 21:19:02 GMT) Full text and rfc822 format available.

Notification sent to Peter Lo <peterloleungyau <at> gmail.com>:
bug acknowledged by developer. (Sat, 27 Jun 2020 21:19:03 GMT) Full text and rfc822 format available.

Message #10 received at 42090-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Peter Lo <peterloleungyau <at> gmail.com>
Cc: 42090-done <at> debbugs.gnu.org
Subject: Re: [bug#42090] [PATCH] gnu: Add r-shapforxgboost.
Date: Sat, 27 Jun 2020 23:18:29 +0200
Hi Peter,

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

Thank you!

I made a couple of minor changes and pushed it to the master branch with
commit bc36937431.

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 26 Jul 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.