From: "Afkhami, Navid" <Navid.Afkhami@mdc-berlin.de>
To: 72195@debbugs.gnu.org
Cc: "Afkhami, Navid" <Navid.Afkhami@mdc-berlin.de>
Subject: [bug#72195] [PATCH] gnu: Add r-shapviz.
Date: Fri, 19 Jul 2024 10:51:42 +0000 [thread overview]
Message-ID: <07ef8e3fb31efeb136423bf2c200cd80b4065740.1721386301.git.Navid.Afkhami@mdc-berlin.de> (raw)
* 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
next reply other threads:[~2024-07-19 18:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-19 10:51 Afkhami, Navid [this message]
2024-11-01 11:23 ` bug#72195: [PATCH] gnu: Add r-shapviz Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=07ef8e3fb31efeb136423bf2c200cd80b4065740.1721386301.git.Navid.Afkhami@mdc-berlin.de \
--to=navid.afkhami@mdc-berlin.de \
--cc=72195@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.