Subject: bug#44788: closed (Re: [bug#44788] [PATCH] gnu: Add python-baycomp.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 24 Nov 2020 13:03:02 +0000

Your bug report

#44788: [PATCH] gnu: Add python-baycomp.

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 [email-masked].

-- 
44788: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44788
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#44788] [PATCH] gnu: Add python-baycomp.
From: Nicolas Goaziou <[email-masked]>
To: Vinicius Monego <[email-masked]>
Cc: [email-masked]
Date: Tue, 24 Nov 2020 14:02:28 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Vinicius Monego <[email-masked]> writes:

> * gnu/packages/python-science.scm (python-baycomp): New variable.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add python-baycomp.
From: Vinicius Monego <[email-masked]>
To: [email-masked]
Cc: Vinicius Monego <[email-masked]>
Date: Sun, 22 Nov 2020 00:05:25 -0300
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/python-science.scm (python-baycomp): New variable.
---
 gnu/packages/python-science.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 101c8fb640..8d06f4f962 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -439,6 +439,32 @@ doing practical, real world data analysis in Python.")
 written in C.")
     (license license:bsd-2)))
 
+(define-public python-baycomp
+  (package
+    (name "python-baycomp")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "baycomp" version))
+       (sha256
+        (base32 "1c1354a7b3g8slychjgyjxqdm8z40z9kviyl9n4g9kfpdg0p4d64"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-matplotlib" ,python-matplotlib)
+       ("python-numpy" ,python-numpy)
+       ("python-scipy" ,python-scipy)))
+    (home-page "https://github.com/janezd/baycomp")
+    (synopsis "Library for comparison of Bayesian classifiers")
+    (description
+     "@code{baycomp} is a library for Bayesian comparison of classifiers.
+Functions in the library compare two classifiers on one or on multiple data
+sets.  They compute three probabilities: the probability that the first
+classifier has higher scores than the second, the probability that differences
+are within the region of practical equivalence (rope), or that the second
+classifier has higher scores.")
+    (license license:expat)))
+
 (define-public python-xarray
   (package
     (name "python-xarray")
-- 
2.20.1