ytopt: add v0.0.3 (#29655)

Co-authored-by: Jaehoon Koo <jkoo@mcswl052.mcs.anl.gov>
This commit is contained in:
Brice Videau 2022-03-30 23:40:54 -05:00 committed by GitHub
parent 5c5da19b0c
commit 40154d83ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 75 additions and 1 deletions

View File

@ -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 PySdmetrics(PythonPackage):
"""The SDMetrics library provides a set of dataset-agnostic
tools for evaluating the quality of a synthetic database
by comparing it to the real database that it is modeled
after."""
maintainers = ['Kerilk', 'jke513']
homepage = "https://github.com/sdv-dev/SDMetrics"
pypi = "sdmetrics/sdmetrics-0.4.1.tar.gz"
version('0.4.1', sha256='28df1cdd6988b3464306c1d189da19ee13a49023c53ca8b3db399fc9fd45fae8')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-numpy@1.18:1.19', type=('build', 'run'), when='^python@3.6')
depends_on('py-numpy@1.20:1', type=('build', 'run'), when='^python@3.7:')
depends_on('py-pandas@1.1.3:1.1.4', type=('build', 'run'))
depends_on('py-scikit-learn@0.24:1', type=('build', 'run'))
depends_on('py-scipy@1.5.4:1', type=('build', 'run'))
depends_on('py-torch@1.8.0:1', type=('build', 'run'))
depends_on('py-copulas@0.6.0:0.6', type=('build', 'run'))
depends_on('py-rdt@0.6.1:0.6', type=('build', 'run'))
depends_on('py-pyts@0.12.0:0.12', type=('build', 'run'))

View File

@ -0,0 +1,37 @@
# 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 PySdv(PythonPackage):
"""The Synthetic Data Vault (SDV) is a Synthetic Data
Generation ecosystem of libraries that allows users to
easily learn single-table, multi-table and timeseries
datasets to later on generate new Synthetic Data that
has the same format and statistical properties as the
original dataset."""
maintainers = ['Kerilk', 'jke513']
homepage = "https://github.com/sdv-dev/SDV"
pypi = "sdv/sdv-0.13.1.tar.gz"
version('0.14.0', sha256='a62714b73a7e14b95ffbda0920a3a5a6fe891a17d8611380af5f9ca1ff8fc234')
version('0.13.1', sha256='c0a0dbc4a64e5f60cabd123a8c19b3f99594f5a0911de83e08d172b810222c93')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-faker@3.0.0:9', type=('build', 'run'))
depends_on('py-graphviz@0.13.2:0', type=('build', 'run'))
depends_on('py-numpy@1.18:1.19', type=('build', 'run'), when='^python@3.6')
depends_on('py-numpy@1.20:1', type=('build', 'run'), when='^python@3.7:')
depends_on('py-pandas@1.1.3:1.1.4', type=('build', 'run'))
depends_on('py-tqdm@4.15:4', type=('build', 'run'))
depends_on('py-copulas@0.6.0:0.6', type=('build', 'run'))
depends_on('py-ctgan@0.5.0:0.5', type=('build', 'run'))
depends_on('py-deepecho@0.3.0.post1:0.3', type=('build', 'run'))
depends_on('py-rdt@0.6.1:0.6', type=('build', 'run'))
depends_on('py-sdmetrics@0.4.1:0.4', type=('build', 'run'))

View File

@ -15,12 +15,16 @@ class PyYtopt(PythonPackage):
homepage = "https://github.com/ytopt-team/ytopt"
url = "https://github.com/ytopt-team/ytopt/archive/refs/tags/v0.0.1.tar.gz"
version('0.0.3', sha256='eac6ab87d4fd27517f136880016359c5b24836ec009e8cc9b4073a6c5edb17af')
version('0.0.2', sha256='5a624aa678b976ff6ef867610bafcb0dfd5c8af0d880138ca5d56d3f776e6d71')
version('0.0.1', sha256='3ca616922c8e76e73f695a5ddea5dd91b0103eada726185f008343cc5cbd7744')
variant('online', default=False, description='Install requirements for online tuning.', when='@0.0.3:')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-scikit-learn@0.23.1', type=('build', 'run'))
depends_on('py-scikit-learn@0.23.1', type=('build', 'run'), when='@:0.0.2')
depends_on('py-scikit-learn@1.0.0:', type=('build', 'run'), when='@0.0.3:')
depends_on('py-dh-scikit-optimize', type=('build', 'run'))
depends_on('py-configspace', type=('build', 'run'))
depends_on('py-numpy', type=('build', 'run'))
@ -30,3 +34,4 @@ class PyYtopt(PythonPackage):
depends_on('py-tqdm', type=('build', 'run'))
depends_on('py-ray', type=('build', 'run'))
depends_on('py-mpi4py@3.0.0:', type=('build', 'run'))
depends_on('py-sdv@0.13.1:0.13', type=('build', 'run'), when='@0.0.3: +online')