From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iE6wIzNnRmVhfwEAauVa8A:P1 (envelope-from ) for ; Sat, 04 Nov 2023 16:45:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iE6wIzNnRmVhfwEAauVa8A (envelope-from ) for ; Sat, 04 Nov 2023 16:45:55 +0100 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 475FE3BCA9 for ; Sat, 4 Nov 2023 16:45:55 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="AAjzG7s/"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699112755; a=rsa-sha256; cv=none; b=dv4XERh0c/cbPQ4c9YVBkm0aN82HAbB37bbSM5MlIScX3EK4MhufHwS85OO10s22BLnEgk wLE1ErPuIHyQkV0o9NMqARFBpvrkDh99dw3JwZXgI0cnkx44p7ccrJiIg1ZkxoD0W7+YWK U0pyBCmU1Q/yIT2S4IYWbvcIPYthwJIpRIw8Nr5hIZ4qmeppF2CBvBABNISqMdyXB7tiR/ 3irQuVlfTZb1+ho+W451tr9w6fkVT/+7t8q7RTkc6yYTK36zFQoF6pr6M12j2W/VePub6Y UVtqgoNKDsPVsedWM4HDWUVh8YqZt9arcPyx0Z7sgsDGTjAX+kUOwDgVeXfqeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699112755; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+PeeFx8j+Qdw/feDd29Tt+dlkvBS/OGZpt1b4vXJkZY=; b=GAFWlMcTFodKzrT8oNNBebYxBhWUuG3ZHmsaj61V4bXeEXPQS5YPDPxqAK9QRCf7ZfLqa5 dIw50BskAJPEKXn6s3c979FuD8+kODeGU0He/sRpTnXSpGwPalKNcJLeXEVVj/mZNHcFKJ uUEZudTxm81PIloXcPdEHpqyUmiKeSWbSXtNTEb+jGE7DSy7WRQiE4PCdfLEZlf+Cx5Rv9 pBtUf83GFlMPPA6KkREDEJoRNCSJnvCYyjatD6E+iQPjEyNk8PavFbH55KCyyQp9STCOfB 239Md8UMNefHTajxXvOZW8fA56JeWhBV8gyS4EdgeY4Qs3XmZ623WT1Q1C3zcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="AAjzG7s/"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzIq2-0000QT-23; Sat, 04 Nov 2023 11:45:30 -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 1qzIpz-0000Pz-St for guix-patches@gnu.org; Sat, 04 Nov 2023 11:45:27 -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 1qzIpy-0005yw-K9 for guix-patches@gnu.org; Sat, 04 Nov 2023 11:45:27 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qzIqY-0006RH-Px for guix-patches@gnu.org; Sat, 04 Nov 2023 11:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64258] [PATCH v2 2/2] gnu: Add python-pgmpy. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Nov 2023 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64258 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64258@debbugs.gnu.org Cc: Felix Gruber Received: via spool by 64258-submit@debbugs.gnu.org id=B64258.169911271124663 (code B ref 64258); Sat, 04 Nov 2023 15:46:02 +0000 Received: (at 64258) by debbugs.gnu.org; 4 Nov 2023 15:45:11 +0000 Received: from localhost ([127.0.0.1]:35623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzIpi-0006Pj-Ov for submit@debbugs.gnu.org; Sat, 04 Nov 2023 11:45:11 -0400 Received: from mout01.posteo.de ([185.67.36.65]:58075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzIpg-0006PI-EW for 64258@debbugs.gnu.org; Sat, 04 Nov 2023 11:45:08 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 92ECA24002A for <64258@debbugs.gnu.org>; Sat, 4 Nov 2023 16:44:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699112666; bh=dgF5+xnh5GaiU+0m0/aBlkyP0cXMXOBlfv7N3NkCyoY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=AAjzG7s/PjLpWIAVV4H6rtoRx2wj53DX4GgHood3WQTEmZdL37Xxg91XcnpXBAzFX FMpngbZG3Yl1Z+PXrc06xVLjAK81bUNTL24QkZvjnP9M/MaTr6VJFt3ilPEjRf7TDi +J+q2rCXJ6QDRjL/Qsugi1qtfRVbl1ilqMWX1ZHkm31UlyZ7Xm/HVa+ScJLpWaOUtR R711VE9B7CM1rlUB76DjlSpPSo7Nwn1MkKaioAa89GwzTdhNBIXcn01n3u7DYNoigh v/3JzIFM59rmP1iK7sJYpm+U5uSAsSj1QEGngOqnJSI5paAKhidI7KIrTi65EoRM9n URlqsZCvAk/ag== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SN23Z0y0Zz9rxK; Sat, 4 Nov 2023 16:44:26 +0100 (CET) From: Felix Gruber Date: Sat, 4 Nov 2023 15:43:05 +0000 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-Scanner: mx11.migadu.com X-Spam-Score: 3.69 X-Migadu-Queue-Id: 475FE3BCA9 X-Migadu-Spam-Score: 3.69 X-TUID: ONaLKDx3NTpt * gnu/packages/statistics.scm (python-pgmpy): New variable. Change-Id: Ic9a42b534500cd1ed98869b8ac4bd3700ee3e2f6 --- gnu/packages/statistics.scm | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index d15732c839..d783464299 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -18,6 +18,7 @@ ;;; Copyright © 2021 Frank Pursel ;;; Copyright © 2022 Simon Tournier ;;; Copyright © 2023 gemmaro +;;; Copyright © 2023 Felix Gruber ;;; ;;; This file is part of GNU Guix. ;;; @@ -7803,3 +7804,45 @@ (define-public ruby-enumerable-statistics statistical summary in arrays and enumerables.") (home-page "https://github.com/mrkn/enumerable-statistics") (license license:expat))) + +(define-public python-pgmpy + (package + (name "python-pgmpy") + (version "0.1.24") + (source + (origin + (method git-fetch) ;pypi package does not include test data + (uri (git-reference + (url "https://github.com/pgmpy/pgmpy") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0fvzh6v0yhgdryczamvzhfy2ymywkh0ssx4rl47xnfvi43hnij90")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-daft + python-joblib + python-networkx + python-numpy + python-opt-einsum + python-pandas + python-pyparsing + python-pytorch + python-scikit-learn + python-scipy + python-statsmodels + python-tqdm)) + (native-inputs (list python-black + python-codecov + python-coverage + python-mock + python-pytest + python-pytest-cov + python-xdoctest)) + (home-page "https://github.com/pgmpy/pgmpy") + (synopsis "Probabilistic Graphical Models library") + (description "This package provides a library for Probabilistic +Graphical Models. It can be used for learning (Structure and Parameter), +inference (Probabilistic and Causal), and simulations in Bayesian +Networks.") + (license license:expat))) -- 2.42.0