GNU bug report logs - #72195
[PATCH] gnu: Add r-shapviz.

Previous Next

Package: guix-patches;

Reported by: "Afkhami, Navid" <Navid.Afkhami <at> mdc-berlin.de>

Date: Fri, 19 Jul 2024 18:23:04 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 72195 in the body.
You can then email your comments to 72195 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#72195; Package guix-patches. (Fri, 19 Jul 2024 18:23:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Afkhami, Navid" <Navid.Afkhami <at> mdc-berlin.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 19 Jul 2024 18:23:04 GMT) Full text and rfc822 format available.

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

From: "Afkhami, Navid" <Navid.Afkhami <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Cc: "Afkhami, Navid" <Navid.Afkhami <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add r-shapviz.
Date: Fri, 19 Jul 2024 10:51:42 +0000
* gnu/packages/cran.scm (r-shapviz): New variable.

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index c9b60b567b..be22b1d28d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -31572,6 +31572,42 @@ (define-public r-shapes
 Edition), John Wiley and Sons.")
     (license license:gpl2)))
 
+(define-public r-shapviz
+  (package
+    (name "r-shapviz")
+    (version "0.9.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "shapviz" version))
+       (sha256
+        (base32 "01zq6kr5na40xgypif6sv2pjynhva9v0npx779k7fxck1db68z80"))))
+    (properties `((upstream-name . "shapviz")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-ggfittext
+                             r-gggenes
+                             r-ggplot2
+                             r-ggrepel
+                             r-patchwork
+                             r-rlang
+                             r-xgboost))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/ModelOriented/shapviz")
+    (synopsis "SHAP visualizations")
+    (description
+     "Visualizations for SHAP (SHapley Additive @code{exPlanations}).
+For example waterfall plots, force plots, various types of importance
+plots, dependence plots, and interaction plots.  These plots act on a
+shapviz object created from a matrix of SHAP values and a corresponding
+feature dataset.  Wrappers for the R packages xgboost', lightgbm',
+fastshap', shapr', h2o', treeshap', DALEX', and kernelshap are added
+for convenience.  By separating visualization and computation, it is
+possible to display factor variables in graphs, even if the SHAP values
+are calculated by a model that requires numerical features.  The plots
+are inspired by those provided by the shap package in Python, but there
+is no dependency on it.")
+    (license license:gpl2+)))
+
 (define-public r-animation
   (package
     (name "r-animation")

base-commit: 1aa8dfaeec3c6e4e587aadf7440246f7c5c04b9f
prerequisite-patch-id: efd6ac970e611b1f1f697b659f58828511503eb6
-- 
2.34.1





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Fri, 01 Nov 2024 11:24:01 GMT) Full text and rfc822 format available.

Notification sent to "Afkhami, Navid" <Navid.Afkhami <at> mdc-berlin.de>:
bug acknowledged by developer. (Fri, 01 Nov 2024 11:24:02 GMT) Full text and rfc822 format available.

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

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 72195-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add r-shapviz.
Date: Fri, 01 Nov 2024 12:23:08 +0100
Applied, thanks!

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Nov 2024 12:24:21 GMT) Full text and rfc822 format available.

This bug report was last modified 22 days ago.

Previous Next


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