From owner-svn-ports-all@freebsd.org Sat Mar 13 21:29:58 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D1E65AC4D3; Sat, 13 Mar 2021 21:29:58 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DybS62ff4z3hbs; Sat, 13 Mar 2021 21:29:58 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4E11112029; Sat, 13 Mar 2021 21:29:58 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 12DLTw63009220; Sat, 13 Mar 2021 21:29:58 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12DLTvfs009216; Sat, 13 Mar 2021 21:29:57 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202103132129.12DLTvfs009216@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 13 Mar 2021 21:29:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r568286 - in head/math: . py-baycomp X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . py-baycomp X-SVN-Commit-Revision: 568286 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2021 21:29:58 -0000 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@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 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