GNU bug report logs -
#42102
[PATCH] gnu: Add r-fastshap.
Previous Next
Reported by: Peter Lo <peterloleungyau <at> gmail.com>
Date: Sun, 28 Jun 2020 07:17:01 UTC
Severity: normal
Tags: patch
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#42102: [PATCH] gnu: Add r-fastshap.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 42102 <at> debbugs.gnu.org.
--
42102: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42102
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi Peter,
thank you for this patch. I made minor changes to indentation and
description and pushed it to the master branch with commit 285bd00cd4.
Thanks!
--
Ricardo
[Message part 3 (message/rfc822, inline)]
* gnu/packages/cran.scm (r-fastshap): New variable.
---
gnu/packages/cran.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ab5e57c0e2..03e6bf6189 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22325,3 +22325,36 @@ 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-fastshap
+ (package
+ (name "r-fastshap")
+ (version "0.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "fastshap" version))
+ (sha256
+ (base32
+ "08f25ib5mry6h8lvj0g3clc9kfl5g2wdd8x8bw455wwmbcm6x5vg"))))
+ (properties `((upstream-name . "fastshap")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-abind" ,r-abind)
+ ("r-ggplot2" ,r-ggplot2)
+ ("r-gridextra" ,r-gridextra)
+ ("r-matrixstats" ,r-matrixstats)
+ ("r-plyr" ,r-plyr)
+ ("r-rcpp" ,r-rcpp)
+ ("r-rcpparmadillo" ,r-rcpparmadillo)
+ ("r-tibble" ,r-tibble)))
+ (home-page
+ "https://github.com/bgreenwell/fastshap")
+ (synopsis "Fast Approximate Shapley Values")
+ (description
+ "Computes fast (relative to other implementations) approximate
+Shapley values for any supervised learning model. Shapley values help
+to explain the predictions from any black box model using ideas from
+game theory; see Strumbel and Kononenko (2014)
+<doi:10.1007/s10115-013-0679-x> for details.")
+ (license license:gpl2+)))
--
2.17.1
This bug report was last modified 4 years and 292 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.