From: Peter Lo <peterloleungyau@gmail.com>
To: 42102@debbugs.gnu.org
Cc: Peter Lo <peterloleungyau@gmail.com>
Subject: [bug#42102] [PATCH] gnu: Add r-fastshap.
Date: Sun, 28 Jun 2020 15:16:19 +0800 [thread overview]
Message-ID: <20200628071619.4030-1-peterloleungyau@gmail.com> (raw)
* 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
next reply other threads:[~2020-06-28 7:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-28 7:16 Peter Lo [this message]
2020-08-04 14:49 ` bug#42102: [PATCH] gnu: Add r-fastshap 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=20200628071619.4030-1-peterloleungyau@gmail.com \
--to=peterloleungyau@gmail.com \
--cc=42102@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).