From 27e6032f73fe3f8d5df5b05096fa813dad39ef38 Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Sun, 26 Sep 2021 03:34:18 -0400 Subject: New package: py-gpyopt (#26232) Co-authored-by: Sid Pendelberry Co-authored-by: Bernhard Kaindl --- .../repos/builtin/packages/py-gpyopt/package.py | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-gpyopt/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-gpyopt/package.py b/var/spack/repos/builtin/packages/py-gpyopt/package.py new file mode 100644 index 0000000000..8f55126d1e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-gpyopt/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyGpyopt(PythonPackage): + """ Performs global optimization with different acquisition functions. Among + other functionalities, it is possible to use GPyOpt to optimize physical + experiments (sequentially or in batches) and tune the parameters of Machine + Learning algorithms. It is able to handle large data sets via sparse + Gaussian process models.""" + + homepage = "http://sheffieldml.github.io/GPyOpt/" + pypi = "GPyOpt/GPyOpt-1.2.6.tar.gz" + + version('1.2.6', sha256='e714daa035bb529a6db23c53665a762a4ab3456b9329c19ad3b03983f94c9b2a') + + depends_on('py-setuptools', type='build') + depends_on('py-numpy@1.7:', type=('build', 'run')) + depends_on('py-scipy@0.16:', type=('build', 'run')) + depends_on('py-gpy@1.8:', type=('build', 'run')) + depends_on('py-matplotlib@1.3:', type=('test')) -- cgit v1.2.3-60-g2f50