diff options
author | Jen Herting <jen@herting.cc> | 2021-12-20 22:07:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 19:07:21 -0800 |
commit | 6647b2a4ca2f8b672fe32c48208307f5e13b1861 (patch) | |
tree | f197f423119cedf184c0232b87b415520134ecc6 /var | |
parent | 6c62fa461e92b086b9e7774715434f07e417c4dc (diff) | |
download | spack-6647b2a4ca2f8b672fe32c48208307f5e13b1861.tar.gz spack-6647b2a4ca2f8b672fe32c48208307f5e13b1861.tar.bz2 spack-6647b2a4ca2f8b672fe32c48208307f5e13b1861.tar.xz spack-6647b2a4ca2f8b672fe32c48208307f5e13b1861.zip |
New package: py-ctgan (#28050)
Co-authored-by: Sid Pendelberry <sid@rit.edu>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-ctgan/package.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ctgan/package.py b/var/spack/repos/builtin/packages/py-ctgan/package.py new file mode 100644 index 0000000000..f9ab396bdb --- /dev/null +++ b/var/spack/repos/builtin/packages/py-ctgan/package.py @@ -0,0 +1,29 @@ +# 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 PyCtgan(PythonPackage): + """CTGAN is a collection of Deep Learning based Synthetic + Data Generators for single table data, which are able to + learn from real data and generate synthetic clones with + high fidelity.""" + + homepage = "https://github.com/sdv-dev/CTGAN" + pypi = "ctgan/ctgan-0.5.0.tar.gz" + + version('0.5.0', sha256='b8a5dbf21dab2d2e2690013f13feb0922f5bad13440b15bc031ce9d58c7fb988') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-packaging@20:21', 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', type=('build', 'run')) + depends_on('py-scikit-learn@0.24:1', type=('build', 'run')) + depends_on('py-torch@1.8.0:1', type=('build', 'run')) + depends_on('py-torchvision@0.9', type=('build', 'run')) + depends_on('py-rdt@0.6.1:0.6', type=('build', 'run')) |