From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qP1LBNOG916NSQAA0tVLHw (envelope-from ) for ; Sat, 27 Jun 2020 17:50:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CPEkANOG914BKgAAB5/wlQ (envelope-from ) for ; Sat, 27 Jun 2020 17:50:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 877E1940308 for ; Sat, 27 Jun 2020 17:50:10 +0000 (UTC) Received: from localhost ([::1]:50552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpExs-0005y5-Cb for larch@yhetil.org; Sat, 27 Jun 2020 13:50:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpExm-0005xx-2T for guix-patches@gnu.org; Sat, 27 Jun 2020 13:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33020) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpExl-0003uc-Mo for guix-patches@gnu.org; Sat, 27 Jun 2020 13:50:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jpExl-0000f0-Kk for guix-patches@gnu.org; Sat, 27 Jun 2020 13:50:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42090] [PATCH] gnu: Add r-shapforxgboost. Resent-From: Peter Lo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Jun 2020 17:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42090 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42090@debbugs.gnu.org Cc: Peter Lo X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15932801612482 (code B ref -1); Sat, 27 Jun 2020 17:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jun 2020 17:49:21 +0000 Received: from localhost ([127.0.0.1]:44566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpEx7-0000dy-E1 for submit@debbugs.gnu.org; Sat, 27 Jun 2020 13:49:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:49244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpEx5-0000dq-Tz for submit@debbugs.gnu.org; Sat, 27 Jun 2020 13:49:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpEx5-0005uv-LR for guix-patches@gnu.org; Sat, 27 Jun 2020 13:49:19 -0400 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:34544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpEx3-0003rb-To for guix-patches@gnu.org; Sat, 27 Jun 2020 13:49:19 -0400 Received: by mail-pg1-x543.google.com with SMTP id t6so6449061pgq.1 for ; Sat, 27 Jun 2020 10:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=yj5tZ9Eqoq1emQM+h/GcB/WgX12dDubZXLP22SmnYf8=; b=lVEqRZEs/Pf/38qti5U5Mtstxc/vvSjMz2DqCXS95mM+Nzfjr3niSwedrvAmRKFpgy PRH1xPJzP9OmSdqKCg04JKhf1aCMC77us/BhdKqU3TbnaKZBrV8/4dmzidUfc+E6L5cg jNAyLuV0fj0KH/0Z6Q2RK6FGWyNX8mnRT1vmdH+rl7B3ahBq8agVq5Ku/AU+cvrd8bfE cq+JwYPQWXF/0nDTsbeA5iV8Hjcf1/1/QAI6I30IfbPJyWbpz8L/NC63vC++n88KpPoW pEcigAYcEdlVh+t9n8MN1Qsh4jYVZjRdeDR1CTQ5+uFZsWVEPar3DHXYv7BNbqo4TIGo s1Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=yj5tZ9Eqoq1emQM+h/GcB/WgX12dDubZXLP22SmnYf8=; b=NtlCnPdIiQj/HrzqgpXo3i8WVgt5BCJGSAiOzVERZ4uKMoovUUGwB7S04V4GMTpJj6 9wKKGk9XnD9OlNHqBbpqwuYWKhus/35rrZzVI57MJAzWkzHt6VR9bDE/jcgvrmfSYzvo +ebFWIll+WXpQ3K216pVWc6XqvcwD+LwS/I3H1XxywYNMt5kiBJgwvlLnMVBKxgfHigz Y0Sd9/h+bfaSWECF2cS1D8udaMhI/2NX6XoBnuF+3HZ7j4rOvtQQNgljT1qZRJG9725j DLizRqkWmMxHmNA4z9nGj0EzHSBM5Rq79X9oncxpnXf4uVaXulE01duqzYUOrKdD1x/n 4hjA== X-Gm-Message-State: AOAM531TkSM76IMDRGQtHDmm4trLHe4ClYl8bdoNbGvuYJGZb6pMvsIn v3AVpAFxRnxFOL8he2t9wiUIz7xfTZE= X-Google-Smtp-Source: ABdhPJyRqagEwanYmdmD6L91ut/pQTodgdnBHgaP0tq25hUVRzuF1rfokjS3+CSdA3IfNzH/0V28cQ== X-Received: by 2002:a05:6a00:1589:: with SMTP id u9mr8153409pfk.201.1593280152043; Sat, 27 Jun 2020 10:49:12 -0700 (PDT) Received: from localhost.localdomain (059149170072.ctinets.com. [59.149.170.72]) by smtp.gmail.com with ESMTPSA id n2sm12470536pgv.37.2020.06.27.10.49.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jun 2020 10:49:11 -0700 (PDT) From: Peter Lo Date: Sun, 28 Jun 2020 01:48:58 +0800 Message-Id: <20200627174858.10656-1-peterloleungyau@gmail.com> X-Mailer: git-send-email 2.17.1 Received-SPF: pass client-ip=2607:f8b0:4864:20::543; envelope-from=peterloleungyau@gmail.com; helo=mail-pg1-x543.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=lVEqRZEs; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.09 X-TUID: fU5XOipWDqBw * 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