Replace c14 ctgan with corrected 240000-row run
Browse filesFiles changed (16)
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/_ctgan_generate.pyAdded+18
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/_ctgan_train.pyAdded+17
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/ctgan-c14-240000-20260510_140518.csvAdded+3
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/ctgan_metadata.jsonAdded+3
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/gen_20260510_140518.logAdded+3
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/input_snapshot.jsonAdded+3
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/models_100epochs/ctgan_100epochs.ptAdded+3
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/run_config.jsonAdded+3
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/runtime_result.jsonAdded+3
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/staged/ctgan/adapter_report.jsonAdded+3
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/staged/ctgan/adapter_transforms_applied.jsonAdded+3
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/staged/ctgan/model_input_manifest.jsonAdded+3
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/staged/public/staged_features.jsonAdded+3
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/staged/public/test.csvAdded+3
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/staged/public/train.csvAdded+3
- syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/staged/public/val.csvAdded+3
123456789101112131415161718import syssys.path.insert(0, "/work")from src.SpecificModels.ctgan_rdt_inverse_fix import apply_ctgan_inverse_fixapply_ctgan_inverse_fix()import pandas as pdfrom ctgan.synthesizers.ctgan import CTGANmodel = CTGAN.load("/work/output-Benchmark-trainonly-v1/c14/ctgan/ctgan-c14-20260510_070847/models_100epochs/ctgan_100epochs.pt")total = 240000chunk = min(50000, total) if total > 50000 else totalparts = []left = totalwhile left > 0: take = min(chunk, left) parts.append(model.sample(take)) left -= takesampled = pd.concat(parts, ignore_index=True) if len(parts) > 1 else parts[0]sampled.to_csv("/work/output-Benchmark-trainonly-v1/c14/ctgan/ctgan-c14-20260510_070847/ctgan-c14-240000-20260510_140518.csv", index=False)print("[CTGAN] Generated", total, "rows in", len(parts), "chunks ->", "/work/output-Benchmark-trainonly-v1/c14/ctgan/ctgan-c14-20260510_070847/ctgan-c14-240000-20260510_140518.csv")1234567891011121314151617import pandas as pdfrom ctgan.synthesizers.ctgan import CTGAN
data = pd.read_csv("/work/output-Benchmark-trainonly-v1/c14/ctgan/ctgan-c14-20260510_070847/staged/public/train.csv")discrete_columns = ['bin_0', 'bin_1', 'bin_2', 'bin_3', 'bin_4', 'nom_0', 'nom_1', 'nom_2', 'nom_3', 'nom_4', 'nom_5', 'nom_6', 'nom_7', 'nom_8', 'nom_9', 'ord_1', 'ord_2', 'ord_3', 'ord_4', 'ord_5', 'target']model = CTGAN( embedding_dim=16, generator_dim=(32, 32), discriminator_dim=(32, 32), batch_size=64, pac=1, epochs=100, verbose=True,)model.fit(data, discrete_columns)model.save("/work/output-Benchmark-trainonly-v1/c14/ctgan/ctgan-c14-20260510_070847/models_100epochs/ctgan_100epochs.pt")print("[CTGAN] Saved model ->", "/work/output-Benchmark-trainonly-v1/c14/ctgan/ctgan-c14-20260510_070847/models_100epochs/ctgan_100epochs.pt")123version https://git-lfs.github.com/spec/v1oid sha256:968755f884ea32af55b9a583c625e352cc68c872b37b15f205305a2e1408aa08size 31579942123version https://git-lfs.github.com/spec/v1oid sha256:8983ce3621643ef7f234895e17cfd5fd71fc7ff9b4962965bab6ebd98d7e7c10size 1613123version https://git-lfs.github.com/spec/v1oid sha256:f0b64467c1e890e56013cf1273e74ce834ce3c2b60d374b8173929e44dccadeesize 304123version https://git-lfs.github.com/spec/v1oid sha256:a41d0dd17154fdb2c3ad381061c54095c2cfd46644b1559b56a7bff86e2b6736size 1362123version https://git-lfs.github.com/spec/v1oid sha256:299d4627fbb6b3649f884775041ef3478849011d3c3e97e4096de4212dd3afdfsize 304204800123version https://git-lfs.github.com/spec/v1oid sha256:d6f0c1a5aa077adc6871cd1bc382e1ec9e6dd2b0cdfaaea37ac79c7657dc32d1size 2209123version https://git-lfs.github.com/spec/v1oid sha256:acd2157a55e9dad427b8a27e133791cc31f00ff2f4475cd4a3f36a2f376f3ec2size 915123version https://git-lfs.github.com/spec/v1oid sha256:46ab4c85b8bfa8875835db424dc53e1b86ec9cbca658c73ae0f2d9522a793700size 317123version https://git-lfs.github.com/spec/v1oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945size 2123version https://git-lfs.github.com/spec/v1oid sha256:d58f1e498619b5e85c4cddcaa0f350c99936243f0d0a12dc1ae5cbbcf7607415size 12295123version https://git-lfs.github.com/spec/v1oid sha256:1c92cf6530ea76cef171daa9d723513c36aafe5dc5d8f5dfc27778090e2b0c03size 2288123version https://git-lfs.github.com/spec/v1oid sha256:617ecb620416375c67546e0fa5a8b9a3923d689bda904dc23824ea175d1f8597size 3965839123version https://git-lfs.github.com/spec/v1oid sha256:12398ccb68a2499b9c126f61b25f03c36a65f026d755e1d5ff5653e614676167size 31717079123version https://git-lfs.github.com/spec/v1oid sha256:f40dbd7bbd9e2783c24d0d12ec35a85581835d45238774eb0676de44a734fedasize 3965919syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/_ctgan_generate.pyAdded+18
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/_ctgan_train.pyAdded+17
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/ctgan-c14-240000-20260510_140518.csvAdded+3
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/ctgan_metadata.jsonAdded+3
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/gen_20260510_140518.logAdded+3
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/input_snapshot.jsonAdded+3
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/models_100epochs/ctgan_100epochs.ptAdded+3
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/run_config.jsonAdded+3
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/runtime_result.jsonAdded+3
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/staged/ctgan/adapter_report.jsonAdded+3
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/staged/ctgan/adapter_transforms_applied.jsonAdded+3
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/staged/ctgan/model_input_manifest.jsonAdded+3
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/staged/public/staged_features.jsonAdded+3
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/staged/public/test.csvAdded+3
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/staged/public/train.csvAdded+3
syntheticSuccess/c14/ctgan/ctgan-c14-20260510_070847/staged/public/val.csvAdded+3