* [bug#42102] [PATCH] gnu: Add r-fastshap.
@ 2020-06-28 7:16 Peter Lo
2020-08-04 14:49 ` bug#42102: " Ricardo Wurmus
0 siblings, 1 reply; 2+ messages in thread
From: Peter Lo @ 2020-06-28 7:16 UTC (permalink / raw)
To: 42102; +Cc: Peter Lo
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#42102: [PATCH] gnu: Add r-fastshap.
2020-06-28 7:16 [bug#42102] [PATCH] gnu: Add r-fastshap Peter Lo
@ 2020-08-04 14:49 ` Ricardo Wurmus
0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2020-08-04 14:49 UTC (permalink / raw)
To: 42102-done; +Cc: peterloleungyau
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-04 14:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-28 7:16 [bug#42102] [PATCH] gnu: Add r-fastshap Peter Lo
2020-08-04 14:49 ` bug#42102: " Ricardo Wurmus
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.