svn commit: r568286 - in head/math: . py-baycomp

Yuri Victorovich yuri at FreeBSD.org
Sat Mar 13 21:29:58 UTC 2021


Author: yuri
Date: Sat Mar 13 21:29:57 2021
New Revision: 568286
URL: https://svnweb.freebsd.org/changeset/ports/568286

Log:
  New port: math/py-baycomp: Library for Bayesian comparison of classifiers

Added:
  head/math/py-baycomp/
  head/math/py-baycomp/Makefile   (contents, props changed)
  head/math/py-baycomp/distinfo   (contents, props changed)
  head/math/py-baycomp/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Sat Mar 13 20:52:48 2021	(r568285)
+++ head/math/Makefile	Sat Mar 13 21:29:57 2021	(r568286)
@@ -756,6 +756,7 @@
     SUBDIR += py-apgl
     SUBDIR += py-arviz
     SUBDIR += py-autograd
+    SUBDIR += py-baycomp
     SUBDIR += py-bayesian-optimization
     SUBDIR += py-benford_py
     SUBDIR += py-bitmath

Added: head/math/py-baycomp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-baycomp/Makefile	Sat Mar 13 21:29:57 2021	(r568286)
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME=	baycomp
+DISTVERSION=	1.0.2
+CATEGORIES=	math python # statistics
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	Library for Bayesian comparison of classifiers
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>=2.1.2:math/py-matplotlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=0.19.1:science/py-scipy@${PY_FLAVOR}
+
+USES=		localbase:ldflags python:3.6+
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/math/py-baycomp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-baycomp/distinfo	Sat Mar 13 21:29:57 2021	(r568286)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1615670344
+SHA256 (baycomp-1.0.2.tar.gz) = c43472c16bd7cdf4884dd4c73dd307e4a3da7097fe49c83cd5e88d75142923b0
+SIZE (baycomp-1.0.2.tar.gz) = 154316

Added: head/math/py-baycomp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-baycomp/pkg-descr	Sat Mar 13 21:29:57 2021	(r568286)
@@ -0,0 +1,11 @@
+Baycomp is a library for Bayesian comparison of classifiers.
+
+Functions 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.
+We will refer to this probabilities as p_left, p_rope and p_right. If the
+argument rope is omitted (or set to zero), functions return only p_left and
+p_right.
+
+WWW: https://github.com/janezd/baycomp


More information about the svn-ports-all mailing list