summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-gpyopt/package.py
blob: 6633c0f18e264e0a9956181a3486d2041b0a075a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2013-2023 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.package 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"

    license("BSD-3-Clause")

    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"))