* [bug#42090] [PATCH] gnu: Add r-shapforxgboost.
@ 2020-06-27 17:48 Peter Lo
2020-06-27 21:18 ` bug#42090: " Ricardo Wurmus
0 siblings, 1 reply; 2+ messages in thread
From: Peter Lo @ 2020-06-27 17:48 UTC (permalink / raw)
To: 42090; +Cc: Peter Lo
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-27 21:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-27 17:48 [bug#42090] [PATCH] gnu: Add r-shapforxgboost Peter Lo
2020-06-27 21:18 ` bug#42090: " Ricardo Wurmus
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).