Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jan 2021 10:06:27 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559821 - in head/math: . py-optuna py-optuna/files
Message-ID:  <202101011006.101A6REd094774@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri Jan  1 10:06:27 2021
New Revision: 559821
URL: https://svnweb.freebsd.org/changeset/ports/559821

Log:
  New port: math/py-optuna: A hyperparameter optimization framework
  
  Optuna is an automatic hyperparameter optimization software framework,
  particularly designed for machine learning. It features an imperative,
  define-by-run style user API. Thanks to our define-by-run API, the code
  written with Optuna enjoys high modularity, and the user of Optuna can
  dynamically construct the search spaces for the hyperparameters.
  
  WWW: https://optuna.org/
  
  PR:		252151
  Submitted by:	Neel Chauhan <neel@neelc.org>

Added:
  head/math/py-optuna/
  head/math/py-optuna/Makefile   (contents, props changed)
  head/math/py-optuna/distinfo   (contents, props changed)
  head/math/py-optuna/files/
  head/math/py-optuna/files/pkg-message.in   (contents, props changed)
  head/math/py-optuna/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Fri Jan  1 10:03:13 2021	(r559820)
+++ head/math/Makefile	Fri Jan  1 10:06:27 2021	(r559821)
@@ -795,6 +795,7 @@
     SUBDIR += py-numpy
     SUBDIR += py-numpy-stl
     SUBDIR += py-opt-einsum
+    SUBDIR += py-optuna
     SUBDIR += py-or-tools
     SUBDIR += py-osqp
     SUBDIR += py-pandas

Added: head/math/py-optuna/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-optuna/Makefile	Fri Jan  1 10:06:27 2021	(r559821)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME=	optuna
+DISTVERSION=	2.3.0
+CATEGORIES=	math # machine-learning
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	neel@neelc.org
+COMMENT=	Hyperparameter optimization framework
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}alembic>0:databases/py-alembic@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cliff>0:devel/py-cliff@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cmaes>0:math/py-cmaes@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}colorlog>0:devel/py-colorlog@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}joblib>0:devel/py-joblib@${PY_FLAVOR} \
+		${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sqlalchemy12>0:databases/py-sqlalchemy12@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+SUB_FILES=	pkg-message
+
+.include <bsd.port.mk>

Added: head/math/py-optuna/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-optuna/distinfo	Fri Jan  1 10:06:27 2021	(r559821)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1608953168
+SHA256 (optuna-2.3.0.tar.gz) = 876dad2e4d9f3b368f573c0c49724ce5f3b9abfcb14dde6a5ad1b427e73e6a2e
+SIZE (optuna-2.3.0.tar.gz) = 258631

Added: head/math/py-optuna/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-optuna/files/pkg-message.in	Fri Jan  1 10:06:27 2021	(r559821)
@@ -0,0 +1,9 @@
+[
+{ type: install
+  message: <<EOM
+There is no Tensorflow port currently in FreeBSD ports tree that is required
+by Keras by default. To make Keras work with Theano backend, one needs to modify
+theirs $HOME/.keras/keras.json file and set "backend" option to "theano".
+EOM
+}
+]

Added: head/math/py-optuna/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-optuna/pkg-descr	Fri Jan  1 10:06:27 2021	(r559821)
@@ -0,0 +1,7 @@
+Optuna is an automatic hyperparameter optimization software framework,
+particularly designed for machine learning. It features an imperative,
+define-by-run style user API. Thanks to our define-by-run API, the code
+written with Optuna enjoys high modularity, and the user of Optuna can
+dynamically construct the search spaces for the hyperparameters.
+
+WWW: https://optuna.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101011006.101A6REd094774>