Closed tandriamil closed 3 years ago
Additionally, I added two scripts in a new executables
folder:
generate_metadata_file.py
allows to generate a metadata json file from a dataset in csv format (the example for now comes from the adult dataset). This would meet the demand of a person asking for such script in Issue #6.generate_synthetic_dataset.py
allows to simply generate a synthetic dataset (adapted from the *_cli.py
scripts).loguru
to display logs and added it to the requirements.I added in the README how to set the PYTHONPATH to CTGAN to avoid import errors (see Issue #3).
Feel free to only take parts of the proposed edits directly from my fork, thank you.
Add a fix to the call of the CTGANSynthesizer
constructor that contained a metadata
parameter whereas it does not accept such parameter.
Nice! Thank you for your contribution!
Fix the type of the attributes in the metadata file
germancredit.json
.Also ignore every folder that begins with
venv
instead of onlyvenv3.7
as lazy people (like me) just name their virtual environmentvenv
.