unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#44788] [PATCH] gnu: Add python-baycomp.
@ 2020-11-22  3:05 Vinicius Monego
  2020-11-24 13:02 ` bug#44788: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Vinicius Monego @ 2020-11-22  3:05 UTC (permalink / raw)
  To: 44788; +Cc: Vinicius Monego

* 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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#44788: [PATCH] gnu: Add python-baycomp.
  2020-11-22  3:05 [bug#44788] [PATCH] gnu: Add python-baycomp Vinicius Monego
@ 2020-11-24 13:02 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-11-24 13:02 UTC (permalink / raw)
  To: Vinicius Monego; +Cc: 44788-done

Hello,

Vinicius Monego <monego@posteo.net> writes:

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

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-24 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-22  3:05 [bug#44788] [PATCH] gnu: Add python-baycomp Vinicius Monego
2020-11-24 13:02 ` bug#44788: " Nicolas Goaziou

unofficial mirror of guix-patches@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-patches/1 guix-patches/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-patches guix-patches/ https://yhetil.org/guix-patches \
		guix-patches@gnu.org
	public-inbox-index guix-patches

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.patches


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git