unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Felix Gruber <felgru@posteo.net>
To: 64258@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#64258] [PATCH v3 2/2] gnu: Add python-pgmpy.
Date: Thu, 28 Dec 2023 20:55:29 +0000	[thread overview]
Message-ID: <4a7f7dfaef47e3e5ff99e0344a26e890099ebcd7.1703796764.git.felgru@posteo.net> (raw)
In-Reply-To: <cover.1703796764.git.felgru@posteo.net>

* 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 <frank.pursel@gmail.com>
 ;;; Copyright © 2022 Simon Tournier <zimon.toutoune@gmail.com>
 ;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com>
+;;; Copyright © 2023 Felix Gruber <felgru@posteo.net>
 ;;;
 ;;; 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





  parent reply	other threads:[~2023-12-28 20:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-23 21:11 [bug#64258] [PATCH 0/2] Add pgmpy library for Bayesian Networks Felix Gruber
2023-06-23 21:12 ` [bug#64258] [PATCH 1/2] gnu: Add python-daft Felix Gruber
2023-06-23 21:12 ` [bug#64258] [PATCH 2/2] gnu: Add python-pgmpy Felix Gruber
2023-11-04 15:43 ` [bug#64258] [PATCH v2 0/2] Add pgmpy library for Bayesian Networks Felix Gruber
2023-11-04 15:43   ` [bug#64258] [PATCH v2 1/2] gnu: Add python-daft Felix Gruber
2023-11-04 15:43   ` [bug#64258] [PATCH v2 2/2] gnu: Add python-pgmpy Felix Gruber
2023-12-28 20:55   ` [bug#64258] [PATCH v3 0/2] Add pgmpy library for Bayesian Networks Felix Gruber
2023-12-28 20:55     ` [bug#64258] [PATCH v3 1/2] gnu: Add python-daft Felix Gruber
2023-12-28 20:55     ` Felix Gruber [this message]
2024-02-14 16:53 ` bug#64258: [PATCH 0/2] Add pgmpy library for Bayesian Networks Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4a7f7dfaef47e3e5ff99e0344a26e890099ebcd7.1703796764.git.felgru@posteo.net \
    --to=felgru@posteo.net \
    --cc=64258@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).