From unknown Thu Sep 18 22:09:18 2025 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-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * 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 From unknown Thu Sep 18 22:09:18 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Afkhami, Navid" Subject: bug#72195: closed ([PATCH] gnu: Add r-shapviz.) Message-ID: References: <87ikt7kxk3.fsf@elephly.net> <07ef8e3fb31efeb136423bf2c200cd80b4065740.1721386301.git.Navid.Afkhami@mdc-berlin.de> X-Gnu-PR-Message: they-closed 72195 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 72195@debbugs.gnu.org Date: Fri, 01 Nov 2024 11:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1730460242-19925-1" This is a multi-part message in MIME format... ------------=_1730460242-19925-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #72195: [PATCH] gnu: Add r-shapviz. 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 72195@debbugs.gnu.org. --=20 72195: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72195 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1730460242-19925-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 72195-done) by debbugs.gnu.org; 1 Nov 2024 11:23:18 +0000 Received: from localhost ([127.0.0.1]:48711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6pkM-0005AF-C0 for submit@debbugs.gnu.org; Fri, 01 Nov 2024 07:23:18 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6pkJ-0005A9-UV for 72195-done@debbugs.gnu.org; Fri, 01 Nov 2024 07:23:16 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1730460193; cv=none; d=zohomail.com; s=zohoarc; b=fR89mFWRhVHIuxW+I0A3Wvj6+sIe/K3giLk5uCeIxV7qw41RZd9j1sg9G3RD38BdrYeAG6L4Ke1NDR5sMzkkPKeel6bXGjxHRxW4Oc5MBM3J7s5bQ8d03ATnsLv1FFol0WRFc1j9a2Xyz//vozGtWR99LJ3tDftR96SGypsj0ec= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1730460193; h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=VG1LAp/EGbsdBwo79AT5alOgM25zAG9b1t+IIDa4dWU=; b=LKSS+7CsbNZOOltZtfYnLWS60eLVLnsxJH8pVevKXv/gakUTF2cQ3u5GzFSvjXP6n8Qx34lied7TrJBQ2xuwgVsff/yzFlRSRkGD5OArzZ7k+X+mYpvKoDWGIv1u2CvOzlsLVnmqtNOmONZYCjEWMn7+kVs/RkBhvOR8+3IdwTE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1730460193; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=VG1LAp/EGbsdBwo79AT5alOgM25zAG9b1t+IIDa4dWU=; b=czVN7Q6VMWnZNr23EzQQY0ernbTdhoLBq4mobfB/5dEO1MdrXzwTNHef5v1oEx9T NYMmOrKQG8+iq5vXWltUsi4mTJSvrGVP0p1+dK1aqpy7j1HOi6pwTtQ/Tp5H2Rce6C2 nFGhuXNRFOPjpls3YxMA//MY7uCtmCnWSbJBL5DM= Received: by mx.zohomail.com with SMTPS id 1730460191096783.3176823500578; Fri, 1 Nov 2024 04:23:11 -0700 (PDT) From: Ricardo Wurmus To: 72195-done@debbugs.gnu.org Subject: [PATCH] gnu: Add r-shapviz. Date: Fri, 01 Nov 2024 12:23:08 +0100 Message-ID: <87ikt7kxk3.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72195-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Applied, thanks! -- Ricardo ------------=_1730460242-19925-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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" To: Subject: [PATCH] gnu: Add r-shapviz. 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-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: "Afkhami, Navid" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * 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 ------------=_1730460242-19925-1--