From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6BZ2EmWvmmZ1YAAAe85BDQ:P1 (envelope-from ) for ; Fri, 19 Jul 2024 18:24:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6BZ2EmWvmmZ1YAAAe85BDQ (envelope-from ) for ; Fri, 19 Jul 2024 20:24:37 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=A6JcV9Mz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mdc-berlin.de (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721413477; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=lIFpdc071WDUFM8YB28fI/0/VWwnA124ZtpYqLZ9Vhg=; b=pyHM/OsYvRYEV1J05j7lp8UwAILoWtiqgNjqRII3LVYC5b8zymE3Ae6T9jUWJUMjnr3VlB Aa4ONbnWTiYr9xBi0u0mNHVqyEp4FPaDcRvUHgmTFeMI4OjsUNsvcAoATUtAlORwiVJVDr t2XJYNbLOtdnVAlWCw6OiFZmmXma4dCBOwYvA7pBFa5ics9Plpw249+eRtH410GmEZc35a 52CMentF2UKX3wolWqhV37AXQlcn63Gcl9CKaCf1ITqr46O29UkLh5YEuzogf3ao/6ONgm +rt2woOUDQp19xfL4u5FBeSkNPpkrVZIMCuZTkpi308AcXVu5LoEdtM/n0Y0Xg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=A6JcV9Mz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mdc-berlin.de (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721413477; a=rsa-sha256; cv=none; b=klH+OShrMaUbDdBzAqp0naZyy+10NXJLDY1whktOtKTue8wOiJFK/GqIMQ253qNv53Egmm x3BxCd22xvgYg687rKkofToBJRS2MV/HSv4+wUKVvyfk/R0L+EQTOtSa+Pm/3sK/qPtqQj pCb3rnfTX/AgPvxMNfEmCCNb6stN8NZLBskN68s5FUID8r1dt7FTFZmSlwFj9bK34w97ne UmUV/MmJlc9zydd9ujD9qS8ra4Njo4Op651r+4DBntik6HCS1jv/xn1SkGi9JyAPgYzejG GO1BM1ZimCOXJcFT5I5HXe9wqn0Yn2Gi/H6QoOtPLrkI3pDxVt5pL4FDbwRXew== 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 134933E112 for ; Fri, 19 Jul 2024 20:24:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sUsG7-0006BJ-KO; Fri, 19 Jul 2024 14:23:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUsG3-0005uf-CB for guix-patches@gnu.org; Fri, 19 Jul 2024 14:23:08 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sUsG1-0006nz-3f for guix-patches@gnu.org; Fri, 19 Jul 2024 14:23:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sUsG0-00067P-7S for guix-patches@gnu.org; Fri, 19 Jul 2024 14:23:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72195] [PATCH] gnu: Add r-shapviz. Resent-From: "Afkhami, Navid" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Jul 2024 18:23:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72195 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72195@debbugs.gnu.org Cc: "Afkhami, Navid" X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.172141333422991 (code B ref -1); Fri, 19 Jul 2024 18:23:04 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jul 2024 18:22:14 +0000 Received: from localhost ([127.0.0.1]:50551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUsFB-0005ye-Tf for submit@debbugs.gnu.org; Fri, 19 Jul 2024 14:22:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:40058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUsBo-0005hy-29 for submit@debbugs.gnu.org; Fri, 19 Jul 2024 14:18:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUlFC-0006gt-2B for guix-patches@gnu.org; Fri, 19 Jul 2024 06:53:46 -0400 Received: from b2062.mx.srv.dfn.de ([194.95.234.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUlF9-0005X5-LF for guix-patches@gnu.org; Fri, 19 Jul 2024 06:53:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :x-mailer:message-id:date:date:subject:subject:from:from :received; s=mdc; t=1721386419; x=1723200820; bh=HScexILZFt0FArD UpWblnaDwnEyRjLAUG+80edRUSFg=; b=A6JcV9MzGs8UkmkhB9s5mKzIqYzdxAO LWzYT1xBeqwgSWZbieLTuWOMiI+xufBLOpAq9XjoipEk0yIxIwKVpcE0c4jsFKj6 DeGqCCN0YuB1LJ73NCT6rTaK12lqXDTHuEJ4AvLUoDtSq0se58C8fGoCqiA868O/ u3M3/4263EYc= Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by b2062.mx.srv.dfn.de (Postfix) with ESMTPS id 9BBD716019C for ; Fri, 19 Jul 2024 12:53:39 +0200 (CEST) Received: from localhost (141.80.218.27) by SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Fri, 19 Jul 2024 12:53:39 +0200 From: "Afkhami, Navid" Date: Fri, 19 Jul 2024 10:51:42 +0000 Message-ID: <07ef8e3fb31efeb136423bf2c200cd80b4065740.1721386301.git.Navid.Afkhami@mdc-berlin.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [141.80.218.27] X-ClientProxiedBy: SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) To SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.2019-28538.004 X-TM-AS-Result: No-10--6.312400-5.000000 X-TMASE-MatchedRID: NGDYxnKYxb0EZ1mm50iAbnOjEKYddvv63O2+pOfl+vcwLJ9PZUBQhdqK Kei3fK/BuP2uihwIy0iu5Y9WGrdMHhV9IJL+D0rbju2XlcEx9HQIyIQE9neGFXJo0DDzX3LNUsL Ry27oYo9SBDYr6vuTEIP1E/puFUUQ5BWpgZZxexEsOe36I+IhIQ2LmwHT7i+nBK4oo7tJnZH+OG D8fImu3AObIzLs3GAWEgg3cwDHl/2jYFSFiWs3onGDuy8y1qku3W6IHoa8uBChiwZnCrVKRA+EY WzDDr6yIAcTuiN2qpByKCr4uSHxnkjVTN8ZDRC+bidu4B7y4L5vYxPlGJVYHQ== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--6.312400-5.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.2019-28538.004 X-TM-SNTS-SMTP: 6A00D206673F995B5A04A32C04327D5F1113C543591C801924FA6A4740F44D302000:F Received-SPF: pass client-ip=194.95.234.172; envelope-from=Navid.Afkhami@mdc-berlin.de; helo=b2062.mx.srv.dfn.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 134933E112 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.41 X-Spam-Score: -4.41 X-TUID: icBgP6St28dc * gnu/packages/cran.scm (r-shapviz): New variable. Change-Id: I9795dceda2534663b640a0fa936b10a4a2ff8fae --- gnu/packages/cran.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index c9b60b567b..be22b1d28d 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -31572,6 +31572,42 @@ (define-public r-shapes Edition), John Wiley and Sons.") (license license:gpl2))) +(define-public r-shapviz + (package + (name "r-shapviz") + (version "0.9.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "shapviz" version)) + (sha256 + (base32 "01zq6kr5na40xgypif6sv2pjynhva9v0npx779k7fxck1db68z80")))) + (properties `((upstream-name . "shapviz"))) + (build-system r-build-system) + (propagated-inputs (list r-ggfittext + r-gggenes + r-ggplot2 + r-ggrepel + r-patchwork + r-rlang + r-xgboost)) + (native-inputs (list r-knitr)) + (home-page "https://github.com/ModelOriented/shapviz") + (synopsis "SHAP visualizations") + (description + "Visualizations for SHAP (SHapley Additive @code{exPlanations}). +For example waterfall plots, force plots, various types of importance +plots, dependence plots, and interaction plots. These plots act on a +shapviz object created from a matrix of SHAP values and a corresponding +feature dataset. Wrappers for the R packages xgboost', lightgbm', +fastshap', shapr', h2o', treeshap', DALEX', and kernelshap are added +for convenience. By separating visualization and computation, it is +possible to display factor variables in graphs, even if the SHAP values +are calculated by a model that requires numerical features. The plots +are inspired by those provided by the shap package in Python, but there +is no dependency on it.") + (license license:gpl2+))) + (define-public r-animation (package (name "r-animation") base-commit: 1aa8dfaeec3c6e4e587aadf7440246f7c5c04b9f prerequisite-patch-id: efd6ac970e611b1f1f697b659f58828511503eb6 -- 2.34.1