unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Lo <peterloleungyau@gmail.com>
To: 42090@debbugs.gnu.org
Cc: Peter Lo <peterloleungyau@gmail.com>
Subject: [bug#42090] [PATCH] gnu: Add r-shapforxgboost.
Date: Sun, 28 Jun 2020 01:48:58 +0800	[thread overview]
Message-ID: <20200627174858.10656-1-peterloleungyau@gmail.com> (raw)

* 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	other threads:[~2020-06-27 17:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-27 17:48 Peter Lo [this message]
2020-06-27 21:18 ` bug#42090: [PATCH] gnu: Add r-shapforxgboost 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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200627174858.10656-1-peterloleungyau@gmail.com \
    --to=peterloleungyau@gmail.com \
    --cc=42090@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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).