From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WAcHMO8Lm2WMjQAAkFu2QA (envelope-from ) for ; Sun, 07 Jan 2024 21:39:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cLW6Ke8Lm2WClwAAe85BDQ (envelope-from ) for ; Sun, 07 Jan 2024 21:39:11 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=0kdft0Cb; 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=troyfigiel.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704659951; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qziPwc3QEUdpARRK2fm1Wvg3iqwEvIDqH3qkAi7EZD4=; b=GcbQ0eko02+IeBw41n1/n4f35veVogiU33rvv2sWCuLLQN6Ucb3J27Gj/Nbe20XoidWmme H8fht+SGzlW9mU63Ox9kXP0zvZ15TatDnrtzUAgINtIdBEbDKKfPqXJDjySkIzeN7Hk+jn sQZEWhjGpxtk7gyCxTR67WvkC4+m9hD+sDdgYjNBG63rnIvgIY+7OR4koHtnjvAD52UXAT 5M6WSwTwVK/BdFb8oeAtE6feBfUCT49alytr/NM+r9CYNlrONoSu7WJJfZWOGNaTQ7sJmw YVwCEmYfFdtto7YuB0PRK+tVH6PCzRhZqrtGZRsnfTAEBtHLzKfcSMHM0EXq9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704659951; a=rsa-sha256; cv=none; b=r94JmjwvWv0+9pyApwFZYiE2XvwpLnR11FttOBAUyGRAEiBjA88JMMVceJTI1lHHafHWu6 IYes2gY78E295NmrPqxOOV+9lbNMSpuhjr+Zh1CMy6YEPkuKiA0gCb1u8GL3QBgB6OGA4G EXaca9TNX5WLg7rP59Pwx9kkcdi32CF2R8UwuKRF/rPX2ZOzHqFF2PhnIu4OWZBxLgB/pU sk6wt8tysL3oFgxbjaqfLR8JlELRrvWCLixXVhXaANoWNgdRETrMAxNVgSwoUGOQL+U7nj 8n0Z0vCWEDS2vepekFvx15LAcjQgeN7J32tbcTVvZMVL0zjH1mNaJQvWS5JhkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=0kdft0Cb; 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=troyfigiel.com (policy=none) 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 8A2A9665AC for ; Sun, 7 Jan 2024 21:39:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMZv8-0003wg-EJ; Sun, 07 Jan 2024 15:38:58 -0500 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 1rMZv6-0003wV-Iy for guix-patches@gnu.org; Sun, 07 Jan 2024 15:38:56 -0500 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 1rMZv6-0007xb-3f for guix-patches@gnu.org; Sun, 07 Jan 2024 15:38:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMZvB-0004LX-QZ for guix-patches@gnu.org; Sun, 07 Jan 2024 15:39:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67265] [PATCH v2 2/3] gnu: Add python-persim. References: <87il5yag2m.fsf@troyfigiel.com> In-Reply-To: <87il5yag2m.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Jan 2024 20:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67265 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67265@debbugs.gnu.org Received: via spool by 67265-submit@debbugs.gnu.org id=B67265.170465989716647 (code B ref 67265); Sun, 07 Jan 2024 20:39:01 +0000 Received: (at 67265) by debbugs.gnu.org; 7 Jan 2024 20:38:17 +0000 Received: from localhost ([127.0.0.1]:34002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMZuS-0004KR-Ph for submit@debbugs.gnu.org; Sun, 07 Jan 2024 15:38:17 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]:47286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMZuR-0004KC-LM for 67265@debbugs.gnu.org; Sun, 07 Jan 2024 15:38:16 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4T7TXp0Nbpz9smf for <67265@debbugs.gnu.org>; Sun, 7 Jan 2024 21:38:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1704659882; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qziPwc3QEUdpARRK2fm1Wvg3iqwEvIDqH3qkAi7EZD4=; b=0kdft0CbUBFeuPH5AvZ4bGJyRscHHt4+3gE/n+4oqyRgV+CdwOweQfvbtVXaiEXcYi6ijd LtqvbGsTozwSkNfP+j8+a2/Io321rna9KeqpPNTf+a/5qycfC9D9u3s7y/VCtlxeO4n2Xy cSbOdgNNsf7eh0xndfOO/zFBIpFxpJxq0d37VOP7/7xp++RgNCwZ5W5Ol04U3vhuAWatdn oMg2bQ6+mQYc4iF+CmqozH0PPGnJeNk1+mfG3z2XoP3YaFaOVYwaOI29PJ9bxTxyr3gvaN 4x5yEhDsps6FwQViNYpFjllZxE/jpVsqhxhnZ6e1llYGO0B1TA2Bnb+YMv3uhA== From: Troy Figiel Date: Sat, 18 Nov 2023 22:39:11 +0100 Message-ID: <87o7dw517a.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.30 X-Spam-Score: -4.30 X-Migadu-Queue-Id: 8A2A9665AC X-Migadu-Scanner: mx12.migadu.com X-TUID: IhxWRCkwfLDG * gnu/packages/machine-learning.scm (python-persim): New variable. Change-Id: I914071a90b4555d7d1218ce83337d49298effb01 --- gnu/packages/machine-learning.scm | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learn= ing.scm index d852b0debe..67a8041f72 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -837,6 +837,42 @@ (define-public python-hopcroftkarp cardinality matching from a bipartite graph.") (license license:gpl3)))) =20 +(define-public python-persim + (package + (name "python-persim") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "persim" version)) + (sha256 + (base32 "0q8wfakx8q4h3ryvw8cba0v6z7xn9139qkrzs3mi1ggyzacnx9d7")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-deprecated + python-hopcroftkarp + python-joblib + python-matplotlib + python-numpy + python-scikit-learn + python-scipy)) + (native-inputs (list python-pytest python-pytest-cov)) + (home-page "https://persim.scikit-tda.org") + (synopsis "Tools for analyzing persistence diagrams in Python") + (description + "This package includes a variety of tools used to analyze persistence= diagrams. +It currently houses implementations of +@itemize +@item Persistence images +@item Persistence landscapes +@item Bottleneck distance +@item Modified Gromov=E2=80=93Hausdorff distance +@item Sliced Wasserstein kernel +@item Heat kernel +@item Diagram plotting +@end itemize +") + (license license:expat))) ; MIT License + (define-public python-sacrebleu (package (name "python-sacrebleu") --=20 2.42.0