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 qJMBNkHhjWU+aQAAkFu2QA (envelope-from ) for ; Thu, 28 Dec 2023 21:57:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id IKhULkHhjWXRgAAAe85BDQ (envelope-from ) for ; Thu, 28 Dec 2023 21:57:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=jDPAdQ8n; 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 (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703797057; 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=n+0OvEglRZ9MbQ+CFVYeGy+rcuxkUpcCMSePfecGFhw=; b=pSjG9yDGzy5pLRmPquAD7KmHwqoaTLTy/BFFVkOllUhlmxnDslwFQTNeMnrrZoJXs3gdFn hsqteWKZcB4rL4K3s+HgsP3OnGlBOiXH3AYPm7VRo1m7KQGddK5pL6j5Cfmz9oqCm6T8iW ++lsZ60yQmbpSmrZR3z3QdtiqusYpp/ESAAP91q4A7TzbUa0uwLb/VSXvy3tDcu2Dmd/JO ptMMIrB0NOUzAB34mo9BBY0m2vI62G21tv918b7D9k+g+vca9ECOrgp49nen5Tsdt8sXZZ JPoRpspxAwY51eKRYNqWdWIzkqkNxgKY90Idr7A4KANdTlmgOznP5esdmLjJOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703797057; a=rsa-sha256; cv=none; b=gRZ1+3/VGLB+ahobLkaXIEz4OdP3W0OBE6qyPTnOH2t+q8pBtpEGw3ez7N/O+SXWS/xFKP Ien11e6qsbVeg3JX8BokZ6PaN0J+M/StWQ7ZaSBbuKnKlEGw/Hqo7rE8nvKErLjs4alQeR C0HfR9nV/rQZvj4/jaL/Ua4IW+fBBQakfzVqtM8QCis+kBpBdeB7yK9KYVAIcGNQHyq6MV VU5hvgMJUxsF7KRjRjhXjzdVmdAang7l6evSrfp/Aw/ALeTqcsLoD56DzUn6xnk1dT12Wm Umh7kUDxOcPwwHtq6h0XqZU7emZv8LIIAtixT5uPB2aufaVJXDOXOI6qoMyxiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=jDPAdQ8n; 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 (strict)" header.from=posteo.net (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 CD18C3C799 for ; Thu, 28 Dec 2023 21:57:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rIxRB-0005Xk-6T; Thu, 28 Dec 2023 15:57:05 -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 1rIxR9-0005XR-Q7 for guix-patches@gnu.org; Thu, 28 Dec 2023 15:57:03 -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 1rIxR9-0006yQ-I1 for guix-patches@gnu.org; Thu, 28 Dec 2023 15:57:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rIxR8-0006w3-VW for guix-patches@gnu.org; Thu, 28 Dec 2023 15:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#64258] [PATCH v3 2/2] gnu: Add python-pgmpy. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Dec 2023 20:57: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.170379700226618 (code B ref 64258); Thu, 28 Dec 2023 20:57:02 +0000 Received: (at 64258) by debbugs.gnu.org; 28 Dec 2023 20:56:42 +0000 Received: from localhost ([127.0.0.1]:40418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIxQn-0006vF-Jf for submit@debbugs.gnu.org; Thu, 28 Dec 2023 15:56:41 -0500 Received: from mout02.posteo.de ([185.67.36.66]:37159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIxQl-0006uy-Vb for 64258@debbugs.gnu.org; Thu, 28 Dec 2023 15:56:40 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id DBF14240103 for <64258@debbugs.gnu.org>; Thu, 28 Dec 2023 21:56:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1703796994; bh=tHSoUR5h2XaOKtKnHEt6B9tirYhmcdcNtP4NnLZTBk8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=jDPAdQ8n2uWTQcWenP0p3XDtvJ1At+fusmaWhuvUIssMS5FWo/8xn+ZcGA/AdItIt JBkttDatMolsGDmp7SZUYMHIMVaMSdvkPBxbgwBeQe1d97NjzQ/SQYx7kf2zD5XkE3 rDwahuTa6d39G7Wvt1WE9WPZQfOoD6vOA+jlVAKzeBFGd4ygpwrTQMjMrmqJTVka37 f98/RyT7utuFsO2RzTcCcjlbQOl5BcS2wtMZitsbosLQEPtn20g0OViVLAiFBstxF1 7AQ44lHgIMYRf3gbmAbBFmeuhbn4lyaeWsHUCKf5Bs3/q/MQU0TdohZSb5PpzJO/BL ViqL+4C/X8Kkg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T1LQp3Gm8z6tm4; Thu, 28 Dec 2023 21:56:34 +0100 (CET) From: Felix Gruber Date: Thu, 28 Dec 2023 20:55:29 +0000 Message-ID: <4a7f7dfaef47e3e5ff99e0344a26e890099ebcd7.1703796764.git.felgru@posteo.net> 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-Spam-Score: -2.83 X-Spam-Score: -2.83 X-Migadu-Queue-Id: CD18C3C799 X-Migadu-Scanner: mx11.migadu.com X-TUID: GrRRZmcMdZbr * gnu/packages/statistics.scm (python-pgmpy): New variable. Change-Id: Ic9a42b534500cd1ed98869b8ac4bd3700ee3e2f6 --- gnu/packages/statistics.scm | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 0c3a560562..5fa19c4217 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. ;;; @@ -7667,3 +7668,40 @@ (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-mock + python-pytest)) + (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.43.0