diff options
author | Jen Herting <jen@herting.cc> | 2022-01-19 05:51:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 11:51:53 +0100 |
commit | 017c6786dabc09a974c749416f07da6ab4b83615 (patch) | |
tree | 08dd2c5d03e8fdb6474a0c64a7fd4e81d50c20fc | |
parent | 9723d918bb8e5074b07408da6d70d5e067012384 (diff) | |
download | spack-017c6786dabc09a974c749416f07da6ab4b83615.tar.gz spack-017c6786dabc09a974c749416f07da6ab4b83615.tar.bz2 spack-017c6786dabc09a974c749416f07da6ab4b83615.tar.xz spack-017c6786dabc09a974c749416f07da6ab4b83615.zip |
py-smac: new package (#28490)
-rw-r--r-- | var/spack/repos/builtin/packages/py-smac/package.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-smac/package.py b/var/spack/repos/builtin/packages/py-smac/package.py new file mode 100644 index 0000000000..f1b5c1e5bf --- /dev/null +++ b/var/spack/repos/builtin/packages/py-smac/package.py @@ -0,0 +1,32 @@ +# Copyright 2013-2022 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 PySmac(PythonPackage): + """SMAC is a tool for algorithm configuration to optimize + the parameters of arbitrary algorithms, including + hyperparameter optimization of Machine Learning + algorithms.""" + + homepage = "https://automl.github.io/SMAC3/master/" + pypi = "smac/smac-1.1.1.tar.gz" + + version('1.1.1', sha256='7b8c14c53384b32feb357b9f918a9b023cb01cbda2033e69125dee69ec0bd5b1') + + depends_on('python@3.7:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-numpy@1.7.1:', type=('build', 'run')) + depends_on('py-scipy@1.7.0:', type=('build', 'run')) + depends_on('py-psutil', type=('build', 'run')) + depends_on('py-pynisher@0.4.1:', type=('build', 'run')) + depends_on('py-configspace@0.4.14:0.4', type=('build', 'run')) + depends_on('py-joblib', type=('build', 'run')) + depends_on('py-scikit-learn@0.22.0:', type=('build', 'run')) + depends_on('py-pyrfr@0.8.0:', type=('build', 'run')) + depends_on('py-dask', type=('build', 'run')) + depends_on('py-distributed', type=('build', 'run')) + depends_on('py-emcee@3.0.0:', type=('build', 'run')) |