diff --git a/.gitattributes b/.gitattributes index 69a7bff7b7700dbaf935f6eff83395cd23c95d54..646e1476062ae996171a3fbb1689c0d745168e50 100644 --- a/.gitattributes +++ b/.gitattributes @@ -13954,3 +13954,131 @@ SynthData0523/main/n2/tvae/tvae-n2-20260321_070404/staged/public/train.csv filte SynthData0523/main/n2/tvae/tvae-n2-20260321_070404/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text SynthData0523/main/n2/tvae/tvae-n2-20260321_070404/tvae-n2-1000-20260321_070456.csv filter=lfs diff=lfs merge=lfs -text SynthData0523/main/n2/tvae/tvae-n2-20260321_070404/tvae-n2-1202-20260330_070018.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/arf/arf-n20-20260328_032219/arf-n20-1000-20260328_032306.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/arf/arf-n20-20260328_032219/arf-n20-7654-20260330_071030.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/arf/arf-n20-20260328_032219/arf_model.pkl filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/arf/arf-n20-20260328_032219/gen_20260328_032306.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/arf/arf-n20-20260328_032219/gen_20260330_071030.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/arf/arf-n20-20260328_032219/train_20260328_032219.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet-n20-1000-20260321_091312.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet-n20-7654-20260330_071037.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet_model.pkl filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/gen_20260321_091312.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/gen_20260330_071037.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/train_20260321_091217.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/ctgan-n20-7654-20260422_031707.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/gen_20260422_031707.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/models_300epochs/ctgan_300epochs.pt filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/models_300epochs/train_20260422_031300.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/_fd_X_host.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/_fd_meta_host.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/forest-n20-7654-20260504_072733.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/forestdiffusion_model.joblib filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/gen_20260504_072733.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/input_snapshot.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/models_fd/model.joblib filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/normalized_schema_snapshot.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/public_gate_report.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/staged_input_manifest.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/runtime_result.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_report.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_transforms_applied.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/model_input_manifest.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/staged_features.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/train_20260504_072428.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/input_snapshot.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/models_tabbyflow/trained.pt filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/public_gate/normalized_schema_snapshot.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/public_gate/public_gate_report.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/public_gate/staged_input_manifest.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/runtime_result.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/staged_features.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/tabbyflow/adapter_report.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/tabbyflow/adapter_transforms_applied.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/tabbyflow/model_input_manifest.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabbyflow-n20-7654-20260422_005231.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabbyflow_train_meta.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_cat_test.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_cat_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_cat_val.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_num_test.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_num_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_num_val.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/info.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/real.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/y_test.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/y_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/y_val.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/train_20260422_002904.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/X_num_test.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/X_num_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/X_num_val.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/y_test.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/y_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/y_val.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260321_173130.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260424_222235.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260425_045013.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260425_095702.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/X_num_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/X_num_unnorm.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/loss.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/model.pt filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/model_ema.pt filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/y_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/tabddpm-n20-1000-20260321_173130.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/tabddpm-n20-7654-20260425_095702.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/train_20260321_172946.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/gen_20260422_191741.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/runner.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/tabpfgen-n20-7654-20260422_191741.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_cat_test.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_cat_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_num_test.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_num_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/y_test.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/y_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/gen_20260427_025104.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/synthetic/tabsyn_n20/real.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/synthetic/tabsyn_n20/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/tabsyn-n20-7654-20260427_025104.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/train_20260427_025043.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/gen_20260328_055255.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/gen_20260330_071012.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/gen_20260423_040345.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/models_300epochs/train_20260328_054850.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/models_300epochs/tvae_300epochs.pt filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae-n20-1000-20260328_055255.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae-n20-7654-20260330_071012.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae-n20-7654-20260423_040345.csv filter=lfs diff=lfs merge=lfs -text diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/_arf_generate.py b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/_arf_generate.py new file mode 100644 index 0000000000000000000000000000000000000000..b785366c566cf88650c92450ac3274cdd6983704 --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/_arf_generate.py @@ -0,0 +1,6 @@ +import pickle +with open("/work/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/arf_model.pkl", "rb") as f: + model = pickle.load(f) +syn = model.forge(n=7654) +syn.to_csv("/work/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/arf-n20-7654-20260330_071030.csv", index=False) +print(f"[ARF] Generated 7654 rows -> /work/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/arf-n20-7654-20260330_071030.csv") diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/_arf_train.py b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/_arf_train.py new file mode 100644 index 0000000000000000000000000000000000000000..107892e4592b0675ee93437c564860ca2133d128 --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/_arf_train.py @@ -0,0 +1,19 @@ +import pickle +import pandas as pd +from arfpy import arf + +df = pd.read_csv("/work/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/staged/public/train.csv") +df = df.dropna(axis=1, how="all") +print(f"[ARF] Training on {len(df)} rows, {len(df.columns)} cols") + +model = arf.arf(x=df) +if hasattr(model, "fit"): + model.fit() +elif hasattr(model, "forde"): + model.forde() +else: + raise RuntimeError("arfpy API: no fit() / forde()") + +with open("/work/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/arf_model.pkl", "wb") as f: + pickle.dump(model, f) +print(f"[ARF] Model saved -> /work/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/arf_model.pkl") diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/arf-n20-1000-20260328_032306.csv b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/arf-n20-1000-20260328_032306.csv new file mode 100644 index 0000000000000000000000000000000000000000..87ac4fd034bb39f1bdb5c8fb5959f388733db1ea --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/arf-n20-1000-20260328_032306.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9115a67bf2c85222af3e2bc694ae34d3974e4e0763cccb0792f83d07cab9d347 +size 91725 diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/arf-n20-7654-20260330_071030.csv b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/arf-n20-7654-20260330_071030.csv new file mode 100644 index 0000000000000000000000000000000000000000..138403cf4439c80856aa441e511457f165a4143e --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/arf-n20-7654-20260330_071030.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3378e89d9e9c7cce22dfbf03060f30f2745cd71137bd6f5be837d99bff588adb +size 702241 diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/arf_model.pkl b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/arf_model.pkl new file mode 100644 index 0000000000000000000000000000000000000000..7fc40800a97bbcccc85b84082a54144bb0694429 --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/arf_model.pkl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5fa0ff691d7bd32f7033d8e4d23a55fe7916c4902eaaebd36e823f2257341ad +size 10876939 diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/gen_20260328_032306.log b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/gen_20260328_032306.log new file mode 100644 index 0000000000000000000000000000000000000000..5b045c09e2e863aa93f83907fc91b3b197e55d79 --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/gen_20260328_032306.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e24d5221283dccc4bb9a6e419d870455ae81a83cb7fbb5e5fb3c4e74584ffd6c +size 441 diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/gen_20260330_071030.log b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/gen_20260330_071030.log new file mode 100644 index 0000000000000000000000000000000000000000..b2d32861d4e39a085971881c61ebe01d2d1cae95 --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/gen_20260330_071030.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:593712be066e75ff5bc3ad13cfc620cab4065c1d1f2ee35da16d76e59f3c8b08 +size 441 diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/input_snapshot.json b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..b121b50da6528b9cc616e54895ea7f1c58bbf83d --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/input_snapshot.json @@ -0,0 +1,36 @@ +{ + "dataset_id": "n20", + "model": "arf", + "inputs": { + "train_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-train.csv", + "exists": true, + "size": 291758, + "sha256": "8768b9641a081ce32375b2739c6d0a6cdf66c1b03268c7db5f71ffd0019c97e2" + }, + "val_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-val.csv", + "exists": true, + "size": 36657, + "sha256": "c2dae02f854856ba824310ecaca5c73a72a3302753396aa681c82b69d65b174c" + }, + "test_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-test.csv", + "exists": true, + "size": 36232, + "sha256": "82c48522e82ea4c5e4c407ec9239e82558dcff1df413f3d0c382e77fa041bc88" + }, + "profile_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n20/n20-dataset_profile.json", + "exists": true, + "size": 2675, + "sha256": "7e7d747ab11beae1e58278dc8d6ae08d7ae6f14fe93f77a4fc1e6e589df21df4" + }, + "contract_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n20/n20-dataset_contract_v1.json", + "exists": true, + "size": 3047, + "sha256": "20f513ccbc9f09d5286bc8998a5772f42b78b40aa1ed60b079fa73edf9c78eec" + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..8618a420d9d101a283cfb38feb336ac37687988f --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,112 @@ +{ + "dataset_id": "n20", + "target_column": "PE", + "task_type": "regression", + "columns": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/public_gate/public_gate_report.json b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..91364f3480d02e634daea210e8cae28ad5402b46 --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/public_gate/public_gate_report.json @@ -0,0 +1,37 @@ +{ + "dataset_id": "n20", + "status": "pass", + "checks": [ + { + "check_id": "PG001_csv_parse_ok", + "status": "pass" + }, + { + "check_id": "PG002_split_header_consistent", + "status": "pass" + }, + { + "check_id": "PG003_profile_header_match", + "status": "pass" + }, + { + "check_id": "PG004_missing_token_normalized", + "status": "pass" + }, + { + "check_id": "PG005_semantic_type_validated", + "status": "pass" + }, + { + "check_id": "PG006_target_defined_and_valid", + "status": "pass" + } + ], + "target_column": "PE", + "task_type": "regression", + "input_splits": { + "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-train.csv", + "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-val.csv", + "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-test.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/public_gate/staged_input_manifest.json b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..e018061f8b136471a9af0a539491b613471392a8 --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/public_gate/staged_input_manifest.json @@ -0,0 +1,117 @@ +{ + "dataset_id": "n20", + "target_column": "PE", + "task_type": "regression", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/public_gate/public_gate_report.json", + "column_schema": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/runtime_result.json b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..fe2598f643dccfb56397cac47d34ae8ffd032562 --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/runtime_result.json @@ -0,0 +1,14 @@ +{ + "dataset_id": "n20", + "model": "arf", + "run_id": "arf-n20-20260328_032219", + "public_gate_status": "pass", + "adapter_ready_status": "pass", + "train_status": "skipped", + "generate_status": "success", + "reason_code": null, + "reason_detail": null, + "artifacts": { + "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/arf-n20-7654-20260330_071030.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/arf/adapter_report.json b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/arf/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..0642aa58501454659468296072b27c5b305194f4 --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/arf/adapter_report.json @@ -0,0 +1,7 @@ +{ + "adapter_ready_status": "pass", + "adapter_fail_reason_code": null, + "adapter_fail_detail": null, + "adapter_transforms_applied": [], + "model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/staged/arf/model_input_manifest.json" +} \ No newline at end of file diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/arf/adapter_transforms_applied.json b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/arf/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/arf/adapter_transforms_applied.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/arf/model_input_manifest.json b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/arf/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..fe989a5a331d6f38b91a45055d7ec962db3e8dcc --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/arf/model_input_manifest.json @@ -0,0 +1,119 @@ +{ + "dataset_id": "n20", + "model": "arf", + "target_column": "PE", + "task_type": "regression", + "column_schema": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ], + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/public_gate/staged_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/arf/arf-n20-20260328_032219/public_gate/public_gate_report.json" +} \ No newline at end of file diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/staged_features.json b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..9394440ffb1562950776e6fb8b6683125b5a8ec2 --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/staged_features.json @@ -0,0 +1,27 @@ +[ + { + "feature_name": "AT", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "V", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "AP", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "RH", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "PE", + "data_type": "continuous", + "is_target": true + } +] \ No newline at end of file diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/test.csv b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..88524bb10b10f11146922a7f3382c62f2bbf780a --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5db4ad3456ef2c15e4c6e8e3e2405eb0d506997097ae5af3de903a5fe5608cce +size 31623 diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/train.csv b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..eb2ea62137a67a2c34081011d3829d00d95e6096 --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489 +size 252576 diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/val.csv b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..b36522e18a2e531ac4d4530bf29c2b19cde71f35 --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/staged/public/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b80a697c0aa16609cc20a3c7365f6fc3de47345dbd60d4a31b2012b7388af44 +size 31620 diff --git a/SynthData0523/main/n20/arf/arf-n20-20260328_032219/train_20260328_032219.log b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/train_20260328_032219.log new file mode 100644 index 0000000000000000000000000000000000000000..a77d6ed923a11d3dee29503d5fabf95ff41c290b --- /dev/null +++ b/SynthData0523/main/n20/arf/arf-n20-20260328_032219/train_20260328_032219.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef21113f0aafc1c13d328460317c63b9316bbe23e0f88054c0a9b71a0276d040 +size 232 diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/_bayesnet_generate.py b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/_bayesnet_generate.py new file mode 100644 index 0000000000000000000000000000000000000000..1f34bab64ec018fbfce3a5e4229941544cc4bb4a --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/_bayesnet_generate.py @@ -0,0 +1,43 @@ +import subprocess, sys, os + +pip_libs = "/pip_libs" +sys.path.insert(0, pip_libs) +os.environ["PYTHONPATH"] = pip_libs + os.pathsep + os.environ.get("PYTHONPATH", "") + +def _ensure_deps(): + try: + import synthcity + except ModuleNotFoundError: + print("[BayesNet] synthcity not found - installing to cache...") + subprocess.run( + [sys.executable, "-m", "pip", "install", + "--target", pip_libs, "synthcity==0.2.12", "numpy<2", "-q"], + check=True + ) + import shutil, glob + for pat in ["torch", "torch-*", "torchvision", "torchvision-*", + "torchvision.libs", "torchgen", "nvidia*", "triton*"]: + for p in glob.glob(os.path.join(pip_libs, pat)): + if os.path.isdir(p): shutil.rmtree(p) + else: os.remove(p) + if pip_libs not in sys.path: + sys.path.insert(0, pip_libs) + +_ensure_deps() + +import pickle, json as _json +with open("/work/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet_model.pkl", "rb") as f: + plugin = pickle.load(f) +syn = plugin.generate(count=7654).dataframe() + +# Restore zero-variance columns that were dropped during training +const_path = "/work/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet_model.pkl".replace("bayesnet_model.pkl", "const_cols.json") +if os.path.exists(const_path): + with open(const_path) as _f: + const_cols = _json.load(_f) + for col, val in const_cols.items(): + syn[col] = val + print(f"[BayesNet] Restored constant column '{col}' = {val}") + +syn.to_csv("/work/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet-n20-7654-20260330_071037.csv", index=False) +print(f"[BayesNet] Generated 7654 rows -> /work/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet-n20-7654-20260330_071037.csv") diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/_bayesnet_train.py b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/_bayesnet_train.py new file mode 100644 index 0000000000000000000000000000000000000000..7156e75a3f42f3bfe1dfc844b260bba2cdad54c1 --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/_bayesnet_train.py @@ -0,0 +1,62 @@ +import subprocess, sys, os + +pip_libs = "/pip_libs" +sys.path.insert(0, pip_libs) +os.environ["PYTHONPATH"] = pip_libs + os.pathsep + os.environ.get("PYTHONPATH", "") + +def _ensure_deps(): + try: + import synthcity + except ModuleNotFoundError: + print("[BayesNet] synthcity not found - installing to cache (first run, may take minutes)...") + # Install synthcity with numpy<2 to avoid conflicts + subprocess.run( + [sys.executable, "-m", "pip", "install", + "--target", pip_libs, "synthcity==0.2.12", "numpy<2", "-q"], + check=True + ) + # Remove torch/torchvision from pip_libs to avoid shadowing system versions + import shutil, glob + for pat in ["torch", "torch-*", "torchvision", "torchvision-*", + "torchvision.libs", "torchgen", "nvidia*", "triton*"]: + for p in glob.glob(os.path.join(pip_libs, pat)): + if os.path.isdir(p): shutil.rmtree(p) + else: os.remove(p) + if pip_libs not in sys.path: + sys.path.insert(0, pip_libs) + +_ensure_deps() + +from synthcity.plugins import Plugins +import pickle +import pandas as pd +from synthcity.plugins.core.dataloader import GenericDataLoader + +df = pd.read_csv("/work/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/train.csv") +df = df.dropna(axis=1, how="all") + +# Drop zero-variance columns (only 1 unique value) to avoid +# synthcity encoder KeyError during generation +import json as _json +const_cols = {} +for col in list(df.columns): + nuniq = df[col].nunique() + if nuniq <= 1: + const_cols[col] = df[col].iloc[0] if len(df) > 0 else None + df = df.drop(columns=[col]) + print(f"[BayesNet] Dropped zero-variance column '{col}' (value={const_cols[col]})") + +# Save constant columns info so generate can restore them +const_path = "/work/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet_model.pkl".replace("bayesnet_model.pkl", "const_cols.json") +with open(const_path, "w") as _f: + _json.dump({k: str(v) for k, v in const_cols.items()}, _f) + +print(f"[BayesNet] Training on {len(df)} rows, {len(df.columns)} cols") + +loader = GenericDataLoader(df) +plugin = Plugins().get("bayesian_network") +plugin.fit(loader) + +with open("/work/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet_model.pkl", "wb") as f: + pickle.dump(plugin, f) +print(f"[BayesNet] Model saved -> /work/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet_model.pkl") diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet-n20-1000-20260321_091312.csv b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet-n20-1000-20260321_091312.csv new file mode 100644 index 0000000000000000000000000000000000000000..52bf7676487f9b4ecd0a03bcbb8d85b37a337f07 --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet-n20-1000-20260321_091312.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9fccda5d3a3ad1b78a394b17d69f6c305d8c0116f818692edccf81fd9931536e +size 91776 diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet-n20-7654-20260330_071037.csv b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet-n20-7654-20260330_071037.csv new file mode 100644 index 0000000000000000000000000000000000000000..1df452be15cd1e254f6488d0b3c5baba5b2b82c8 --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet-n20-7654-20260330_071037.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:407011cbcda8a3e92a885489da85931013035147c23793234aec3241b57d4289 +size 701638 diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet_model.pkl b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet_model.pkl new file mode 100644 index 0000000000000000000000000000000000000000..0d69ccf069c4d9e3720cb0aafae84d5d39568c28 --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet_model.pkl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e748fb832cc67bb568f68f5ed47c4873d5694f2b48db380554248eab224f195 +size 678938131 diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/const_cols.json b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/const_cols.json new file mode 100644 index 0000000000000000000000000000000000000000..9e26dfeeb6e641a33dae4961196235bdb965b21b --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/const_cols.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/gen_20260321_091312.log b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/gen_20260321_091312.log new file mode 100644 index 0000000000000000000000000000000000000000..44c1112ddb83a060f056910fc7725664d9ea1424 --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/gen_20260321_091312.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b8a1efe27347f9a7ba360a2ad1f8979562cba9e1bccba9cbd718b1fadcf4fd4 +size 979 diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/gen_20260330_071037.log b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/gen_20260330_071037.log new file mode 100644 index 0000000000000000000000000000000000000000..1f531c15468b1998d85a88513c49f0ade12c411a --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/gen_20260330_071037.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e22173960c297432a8d202fd6250f6c54af9cedea1a75a12dbde38320d4f3f96 +size 1351 diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/input_snapshot.json b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..b325217f12fc008fa7ddbb4d3302f56548147a73 --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/input_snapshot.json @@ -0,0 +1,36 @@ +{ + "dataset_id": "n20", + "model": "bayesnet", + "inputs": { + "train_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-train.csv", + "exists": true, + "size": 291758, + "sha256": "8768b9641a081ce32375b2739c6d0a6cdf66c1b03268c7db5f71ffd0019c97e2" + }, + "val_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-val.csv", + "exists": true, + "size": 36657, + "sha256": "c2dae02f854856ba824310ecaca5c73a72a3302753396aa681c82b69d65b174c" + }, + "test_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-test.csv", + "exists": true, + "size": 36232, + "sha256": "82c48522e82ea4c5e4c407ec9239e82558dcff1df413f3d0c382e77fa041bc88" + }, + "profile_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n20/n20-dataset_profile.json", + "exists": true, + "size": 2675, + "sha256": "7e7d747ab11beae1e58278dc8d6ae08d7ae6f14fe93f77a4fc1e6e589df21df4" + }, + "contract_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n20/n20-dataset_contract_v1.json", + "exists": true, + "size": 3047, + "sha256": "20f513ccbc9f09d5286bc8998a5772f42b78b40aa1ed60b079fa73edf9c78eec" + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..8618a420d9d101a283cfb38feb336ac37687988f --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,112 @@ +{ + "dataset_id": "n20", + "target_column": "PE", + "task_type": "regression", + "columns": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/public_gate/public_gate_report.json b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..91364f3480d02e634daea210e8cae28ad5402b46 --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/public_gate/public_gate_report.json @@ -0,0 +1,37 @@ +{ + "dataset_id": "n20", + "status": "pass", + "checks": [ + { + "check_id": "PG001_csv_parse_ok", + "status": "pass" + }, + { + "check_id": "PG002_split_header_consistent", + "status": "pass" + }, + { + "check_id": "PG003_profile_header_match", + "status": "pass" + }, + { + "check_id": "PG004_missing_token_normalized", + "status": "pass" + }, + { + "check_id": "PG005_semantic_type_validated", + "status": "pass" + }, + { + "check_id": "PG006_target_defined_and_valid", + "status": "pass" + } + ], + "target_column": "PE", + "task_type": "regression", + "input_splits": { + "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-train.csv", + "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-val.csv", + "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-test.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/public_gate/staged_input_manifest.json b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..8070f85d32ba412fc3bb929f37c57bbe801c4fc6 --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/public_gate/staged_input_manifest.json @@ -0,0 +1,117 @@ +{ + "dataset_id": "n20", + "target_column": "PE", + "task_type": "regression", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/public_gate/public_gate_report.json", + "column_schema": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/runtime_result.json b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..1021c2b32d6c3f73df8ae2769a62721ddf590e41 --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/runtime_result.json @@ -0,0 +1,14 @@ +{ + "dataset_id": "n20", + "model": "bayesnet", + "run_id": "bayesnet-n20-20260321_091217", + "public_gate_status": "pass", + "adapter_ready_status": "pass", + "train_status": "skipped", + "generate_status": "success", + "reason_code": null, + "reason_detail": null, + "artifacts": { + "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/bayesnet-n20-7654-20260330_071037.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/bayesnet/adapter_report.json b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/bayesnet/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..ae53d938ce1a8562bf147cc5dbc29d4ef2b3292f --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/bayesnet/adapter_report.json @@ -0,0 +1,7 @@ +{ + "adapter_ready_status": "pass", + "adapter_fail_reason_code": null, + "adapter_fail_detail": null, + "adapter_transforms_applied": [], + "model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/staged/bayesnet/model_input_manifest.json" +} \ No newline at end of file diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/bayesnet/adapter_transforms_applied.json b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/bayesnet/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/bayesnet/adapter_transforms_applied.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/bayesnet/model_input_manifest.json b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/bayesnet/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..db2b6e7091a0aaf95904e0ea1026c523fc59db3e --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/bayesnet/model_input_manifest.json @@ -0,0 +1,119 @@ +{ + "dataset_id": "n20", + "model": "bayesnet", + "target_column": "PE", + "task_type": "regression", + "column_schema": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ], + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/public_gate/staged_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/bayesnet/bayesnet-n20-20260321_091217/public_gate/public_gate_report.json" +} \ No newline at end of file diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/staged_features.json b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..9394440ffb1562950776e6fb8b6683125b5a8ec2 --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/staged_features.json @@ -0,0 +1,27 @@ +[ + { + "feature_name": "AT", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "V", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "AP", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "RH", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "PE", + "data_type": "continuous", + "is_target": true + } +] \ No newline at end of file diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/test.csv b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..88524bb10b10f11146922a7f3382c62f2bbf780a --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5db4ad3456ef2c15e4c6e8e3e2405eb0d506997097ae5af3de903a5fe5608cce +size 31623 diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/train.csv b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..eb2ea62137a67a2c34081011d3829d00d95e6096 --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489 +size 252576 diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/val.csv b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..b36522e18a2e531ac4d4530bf29c2b19cde71f35 --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/staged/public/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b80a697c0aa16609cc20a3c7365f6fc3de47345dbd60d4a31b2012b7388af44 +size 31620 diff --git a/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/train_20260321_091217.log b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/train_20260321_091217.log new file mode 100644 index 0000000000000000000000000000000000000000..c5d6ff3adbaf3cd74445886c91391de4c6e6c348 --- /dev/null +++ b/SynthData0523/main/n20/bayesnet/bayesnet-n20-20260321_091217/train_20260321_091217.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e5fa87a508cc9c7815bfeaf58d3661939e636f5b25cc965132aeba96a6b5e8d +size 2646 diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/_ctgan_generate.py b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/_ctgan_generate.py new file mode 100644 index 0000000000000000000000000000000000000000..0fa781622a182d1519a5acf50f5fec2f0faee30e --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/_ctgan_generate.py @@ -0,0 +1,18 @@ +import sys +sys.path.insert(0, "/work") +from src.SpecificModels.ctgan_rdt_inverse_fix import apply_ctgan_inverse_fix +apply_ctgan_inverse_fix() +import pandas as pd +from ctgan.synthesizers.ctgan import CTGAN +model = CTGAN.load("/work/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/models_300epochs/ctgan_300epochs.pt") +total = 7654 +chunk = min(50000, total) if total > 50000 else total +parts = [] +left = total +while left > 0: + take = min(chunk, left) + parts.append(model.sample(take)) + left -= take +sampled = pd.concat(parts, ignore_index=True) if len(parts) > 1 else parts[0] +sampled.to_csv("/work/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/ctgan-n20-7654-20260422_031707.csv", index=False) +print("[CTGAN] Generated", total, "rows in", len(parts), "chunks ->", "/work/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/ctgan-n20-7654-20260422_031707.csv") \ No newline at end of file diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/ctgan-n20-7654-20260422_031707.csv b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/ctgan-n20-7654-20260422_031707.csv new file mode 100644 index 0000000000000000000000000000000000000000..73e64e5089882a4954b4106927031cb44d350483 --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/ctgan-n20-7654-20260422_031707.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16d2b5ef4fbcd67fb2fa3872cb39594526c2e08d1dbc47b410e9c4fcb2a8e0da +size 704324 diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/ctgan_metadata.json b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/ctgan_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..9718f799216c76afaec80445613f5b1a930e899a --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/ctgan_metadata.json @@ -0,0 +1,24 @@ +{ + "columns": [ + { + "name": "AT", + "type": "continuous" + }, + { + "name": "V", + "type": "continuous" + }, + { + "name": "AP", + "type": "continuous" + }, + { + "name": "RH", + "type": "continuous" + }, + { + "name": "PE", + "type": "continuous" + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/gen_20260422_031707.log b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/gen_20260422_031707.log new file mode 100644 index 0000000000000000000000000000000000000000..8172de3b0ba3098d69653d2fa80c7ff5ca98981c --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/gen_20260422_031707.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:855a4ee220870302b730596a88e449c7f70e81161d0cb5eaca1d1b57fb1ca955 +size 295 diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/input_snapshot.json b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..47d479abd39e67eb4c4241ec67585582fe63d632 --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/input_snapshot.json @@ -0,0 +1,36 @@ +{ + "dataset_id": "n20", + "model": "ctgan", + "inputs": { + "train_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-train.csv", + "exists": true, + "size": 291758, + "sha256": "8768b9641a081ce32375b2739c6d0a6cdf66c1b03268c7db5f71ffd0019c97e2" + }, + "val_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-val.csv", + "exists": true, + "size": 36657, + "sha256": "c2dae02f854856ba824310ecaca5c73a72a3302753396aa681c82b69d65b174c" + }, + "test_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-test.csv", + "exists": true, + "size": 36232, + "sha256": "82c48522e82ea4c5e4c407ec9239e82558dcff1df413f3d0c382e77fa041bc88" + }, + "profile_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n20/n20-dataset_profile.json", + "exists": true, + "size": 2675, + "sha256": "7e7d747ab11beae1e58278dc8d6ae08d7ae6f14fe93f77a4fc1e6e589df21df4" + }, + "contract_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n20/n20-dataset_contract_v1.json", + "exists": true, + "size": 3047, + "sha256": "20f513ccbc9f09d5286bc8998a5772f42b78b40aa1ed60b079fa73edf9c78eec" + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/models_300epochs/ctgan_300epochs.pt b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/models_300epochs/ctgan_300epochs.pt new file mode 100644 index 0000000000000000000000000000000000000000..888aaa31fb5fbfbe349ba560a03868e90bd3794c --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/models_300epochs/ctgan_300epochs.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:086874f465141a2e7366b1e2ca751ef7917339b26124a4c675e45894b7b1cf42 +size 851427 diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/models_300epochs/train_20260422_031300.log b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/models_300epochs/train_20260422_031300.log new file mode 100644 index 0000000000000000000000000000000000000000..82e23d22d419787ba10ac74a75ac79559ff54e2e --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/models_300epochs/train_20260422_031300.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43f9be556abe04f34923b7a6a69215a2b6c1da7399bd47153e0bebc8cb59b71d +size 1272 diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..8618a420d9d101a283cfb38feb336ac37687988f --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,112 @@ +{ + "dataset_id": "n20", + "target_column": "PE", + "task_type": "regression", + "columns": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/public_gate/public_gate_report.json b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..91364f3480d02e634daea210e8cae28ad5402b46 --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/public_gate/public_gate_report.json @@ -0,0 +1,37 @@ +{ + "dataset_id": "n20", + "status": "pass", + "checks": [ + { + "check_id": "PG001_csv_parse_ok", + "status": "pass" + }, + { + "check_id": "PG002_split_header_consistent", + "status": "pass" + }, + { + "check_id": "PG003_profile_header_match", + "status": "pass" + }, + { + "check_id": "PG004_missing_token_normalized", + "status": "pass" + }, + { + "check_id": "PG005_semantic_type_validated", + "status": "pass" + }, + { + "check_id": "PG006_target_defined_and_valid", + "status": "pass" + } + ], + "target_column": "PE", + "task_type": "regression", + "input_splits": { + "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-train.csv", + "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-val.csv", + "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-test.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/public_gate/staged_input_manifest.json b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..edd6d0ac50f3262e84e009091ed66abaa4e8e1ab --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/public_gate/staged_input_manifest.json @@ -0,0 +1,117 @@ +{ + "dataset_id": "n20", + "target_column": "PE", + "task_type": "regression", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/public_gate/public_gate_report.json", + "column_schema": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/runtime_result.json b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..8910f847caf51115110a29f4607ccdf752ed7e07 --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/runtime_result.json @@ -0,0 +1,15 @@ +{ + "dataset_id": "n20", + "model": "ctgan", + "run_id": "ctgan-n20-20260422_031259", + "public_gate_status": "pass", + "adapter_ready_status": "pass", + "train_status": "success", + "generate_status": "success", + "reason_code": null, + "reason_detail": null, + "artifacts": { + "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/ctgan-n20-7654-20260422_031707.csv", + "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/models_300epochs/ctgan_300epochs.pt" + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/ctgan/adapter_report.json b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/ctgan/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..3f9a43a90570e41dce51c11929925da15a870406 --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/ctgan/adapter_report.json @@ -0,0 +1,7 @@ +{ + "adapter_ready_status": "pass", + "adapter_fail_reason_code": null, + "adapter_fail_detail": null, + "adapter_transforms_applied": [], + "model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/staged/ctgan/model_input_manifest.json" +} \ No newline at end of file diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/ctgan/adapter_transforms_applied.json b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/ctgan/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/ctgan/adapter_transforms_applied.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/ctgan/model_input_manifest.json b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/ctgan/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..bc1d3b45c68ce7bfcbe394f7ed96ce14632a5996 --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/ctgan/model_input_manifest.json @@ -0,0 +1,119 @@ +{ + "dataset_id": "n20", + "model": "ctgan", + "target_column": "PE", + "task_type": "regression", + "column_schema": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ], + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/public_gate/staged_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/ctgan/ctgan-n20-20260422_031259/public_gate/public_gate_report.json" +} \ No newline at end of file diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/staged_features.json b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..9394440ffb1562950776e6fb8b6683125b5a8ec2 --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/staged_features.json @@ -0,0 +1,27 @@ +[ + { + "feature_name": "AT", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "V", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "AP", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "RH", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "PE", + "data_type": "continuous", + "is_target": true + } +] \ No newline at end of file diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/test.csv b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..88524bb10b10f11146922a7f3382c62f2bbf780a --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5db4ad3456ef2c15e4c6e8e3e2405eb0d506997097ae5af3de903a5fe5608cce +size 31623 diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/train.csv b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..eb2ea62137a67a2c34081011d3829d00d95e6096 --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489 +size 252576 diff --git a/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/val.csv b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..b36522e18a2e531ac4d4530bf29c2b19cde71f35 --- /dev/null +++ b/SynthData0523/main/n20/ctgan/ctgan-n20-20260422_031259/staged/public/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b80a697c0aa16609cc20a3c7365f6fc3de47345dbd60d4a31b2012b7388af44 +size 31620 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/_fd_X_host.npy b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/_fd_X_host.npy new file mode 100644 index 0000000000000000000000000000000000000000..5407d03db6ff0b1a834ccdeccb8e0fc9f80b7693 --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/_fd_X_host.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:939bf6bdae94a815aeae4a74d8b41430f97e4fcbabeed53e253e00952bf0812a +size 153208 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/_fd_gen.py b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/_fd_gen.py new file mode 100644 index 0000000000000000000000000000000000000000..657326e59bc783664e6998830d887ee8f04a74ff --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/_fd_gen.py @@ -0,0 +1,8 @@ + +import joblib, pandas as pd +m, meta = joblib.load(r'/work/output-Benchmark-trainonly-v1/n20/forestdiffusion/forest-n20-20260504_072427/forestdiffusion_model.joblib') +# generate:batch_size 为样本数 +arr = m.generate(batch_size=int(7654)) +df = pd.DataFrame(arr, columns=meta["column_names"]) +df.to_csv(r'/work/output-Benchmark-trainonly-v1/n20/forestdiffusion/forest-n20-20260504_072427/forest-n20-7654-20260504_072733.csv', index=False) +print("saved", len(df)) diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/_fd_meta_host.json b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/_fd_meta_host.json new file mode 100644 index 0000000000000000000000000000000000000000..6eb4b73df9854be937c895ad94767df1cf174a59 --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/_fd_meta_host.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1831d92274d713d5d39f7ff46e00cf6158852f50287ea517fc6028b9a1756ce +size 66 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/_fd_train.py b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/_fd_train.py new file mode 100644 index 0000000000000000000000000000000000000000..123c33b14579234f5a7c02da5d5d16166aa1e51b --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/_fd_train.py @@ -0,0 +1,36 @@ + +import os, shutil, json +with open('/tmp/pgrep', 'w') as _f: + _f.write("#!/usr/bin/env python3\n") + _f.write("import subprocess, sys\n") + _f.write("ppid = sys.argv[-1]\n") + _f.write("out = subprocess.check_output(['ps', '-o', 'pid=', '--ppid', str(ppid)], text=True)\n") + _f.write("print(out, end='')\n") +os.chmod('/tmp/pgrep', 0o755) +os.environ['PATH'] = '/tmp:' + os.environ.get('PATH', '') +shutil.copy(r'/work/output-Benchmark-trainonly-v1/n20/forestdiffusion/forest-n20-20260504_072427/_fd_X_host.npy', '/tmp/fd_X.npy') +with open(r'/work/output-Benchmark-trainonly-v1/n20/forestdiffusion/forest-n20-20260504_072427/_fd_meta_host.json') as f: + open('/tmp/fd_meta.json','w').write(f.read()) + +import numpy as np, joblib, json, os +from ForestDiffusion import ForestDiffusionModel +X = np.load("/tmp/fd_X.npy") +with open("/tmp/fd_meta.json") as f: + meta = json.load(f) +cat_indexes = meta["cat_indexes"] +print( + "[ForestDiffusion] train config: " + f"rows={X.shape[0]} cols={X.shape[1]} n_t=10 " + f"n_estimators=20 duplicate_K=5 n_jobs=1 " + f"max_depth=4 xgb_verbosity=1", + flush=True, +) +m = ForestDiffusionModel( + X, n_t=10, n_estimators=20, duplicate_K=5, n_jobs=1, + model="xgboost", max_depth=4, tree_method="hist", cat_indexes=cat_indexes, + verbosity=1, +) +joblib.dump((m, meta), "/tmp/fd_model.joblib") +print("ForestDiffusion train OK") + +shutil.copy('/tmp/fd_model.joblib', r'/work/output-Benchmark-trainonly-v1/n20/forestdiffusion/forest-n20-20260504_072427/forestdiffusion_model.joblib') diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/forest-n20-7654-20260504_072733.csv b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/forest-n20-7654-20260504_072733.csv new file mode 100644 index 0000000000000000000000000000000000000000..9239e6376885f82ef842577514d784124ca3588c --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/forest-n20-7654-20260504_072733.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5036f339739a073a6d39fe52d48316dae08dada5439805a043dc858d6fa9483 +size 703835 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/forestdiffusion_model.joblib b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/forestdiffusion_model.joblib new file mode 100644 index 0000000000000000000000000000000000000000..996010007cc69ea0230792889732f9da9ece7f01 --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/forestdiffusion_model.joblib @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4f37ac5d1faaec471d75db0b764e9317e59d76e5b75ac91d3b7ceb2696a1596 +size 1900383 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/gen_20260504_072733.log b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/gen_20260504_072733.log new file mode 100644 index 0000000000000000000000000000000000000000..7c7345f261930577be07ec0da6c0b2959772fa7e --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/gen_20260504_072733.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4da2097bfac0b147b20d243e1a4605020b7aeedb6ecf9003c5e16bcdc502573 +size 294 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/input_snapshot.json b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..3eada90b186e211f36b0937e76afb1c135fb2caf --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/input_snapshot.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1d8b3104e2b05bb047d7894504341ebbb313df31ab2d3e9c1063fc637398080 +size 1365 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/models_fd/model.joblib b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/models_fd/model.joblib new file mode 100644 index 0000000000000000000000000000000000000000..996010007cc69ea0230792889732f9da9ece7f01 --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/models_fd/model.joblib @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4f37ac5d1faaec471d75db0b764e9317e59d76e5b75ac91d3b7ceb2696a1596 +size 1900383 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..b6f805cb611b5eb24d24c33860f3897d44b92b71 --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81093ad7315dba850c2b92af3ef28cb2cb4b937f961dc1dbb466b60c355d7f24 +size 2463 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/public_gate_report.json b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..89a1e14cd942c94488adefe5b7802d00a380f962 --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/public_gate_report.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82d65df7d0ea1f8418a15e27a3077f7a2e5e2a24ea8eb4c41e3e50b7906d7c2a +size 912 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/staged_input_manifest.json b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..29d26b1e02f0e5b97883539fc2eec70f439e25d4 --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/staged_input_manifest.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:713eab2f6e9b76928c84767f5d721b24d595610763f9d378bf84c15fa4579b7a +size 3314 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/runtime_result.json b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..32d7c991e8e3d6a9c79dbea0a6fb028730d5c54b --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/runtime_result.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a75e0ad313342503bc1dfc0149138eec89360b13b8816a28207a6f7a9051daf1 +size 930 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_report.json b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..012cc7d811dd1b11777a65620cea6a8d0d9201b8 --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_report.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c758463dbf3f4876a0526b1166ae85c177e8bd2282c4af2538aa5d0a6e78523c +size 338 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_transforms_applied.json b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..6f3aaa01a627a955d2022165805d2786c0da78ba --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_transforms_applied.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 +size 2 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/model_input_manifest.json b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..f5d61c69ec13de38d185ca87e87325825e088839 --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/model_input_manifest.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:97da2c2069753e3fd89740e176e604556bc5318ea443f18fbc646d1d3e41b190 +size 3528 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/staged_features.json b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..bed22f25df74704c6b61abbbac3f2f2c632a52c5 --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/staged_features.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a22ed10942cfed5c408e8c1e37d6169591f60d625b40c117dea9aa4a57a5b8a +size 445 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/test.csv b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..88524bb10b10f11146922a7f3382c62f2bbf780a --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5db4ad3456ef2c15e4c6e8e3e2405eb0d506997097ae5af3de903a5fe5608cce +size 31623 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/train.csv b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..eb2ea62137a67a2c34081011d3829d00d95e6096 --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489 +size 252576 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/val.csv b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..b36522e18a2e531ac4d4530bf29c2b19cde71f35 --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b80a697c0aa16609cc20a3c7365f6fc3de47345dbd60d4a31b2012b7388af44 +size 31620 diff --git a/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/train_20260504_072428.log b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/train_20260504_072428.log new file mode 100644 index 0000000000000000000000000000000000000000..59b6c399452c795937bd4d3777cdad9f955b72f9 --- /dev/null +++ b/SynthData0523/main/n20/forestdiffusion/forest-n20-20260504_072427/train_20260504_072428.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a8a079ba47f0b3390c9e990d000f0a5ff750b2b79024d32284102bcf38ea81f +size 431 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/_tabbyflow_gen.py b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/_tabbyflow_gen.py new file mode 100644 index 0000000000000000000000000000000000000000..0d705afa2d5f5332e33cd1211101ef3ce02905fd --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/_tabbyflow_gen.py @@ -0,0 +1,33 @@ + +import os, shutil, subprocess, sys +root = r"/workspace/ef-vfm" +name = r"pipeline_ds" +src = r"/work/output-SpecializedModels/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds" +dst_data = os.path.join(root, "data", name) +shutil.rmtree(dst_data, ignore_errors=True) +shutil.copytree(src, dst_data) +dst_syn = os.path.join(root, "synthetic", name) +os.makedirs(dst_syn, exist_ok=True) +for fn in ("real.csv", "test.csv", "val.csv"): + shutil.copy(os.path.join(src, fn), os.path.join(dst_syn, fn)) +os.chdir(root) +os.environ["PYTHONPATH"] = root + os.pathsep + os.environ.get("PYTHONPATH", "") +subprocess.check_call([ + sys.executable, "main.py", + "--dataname", name, "--mode", "test", "--gpu", "0", + "--no_wandb", "--exp_name", r"adapter_efvfm", + "--ckpt_path", r"/workspace/ef-vfm/ef_vfm/ckpt/pipeline_ds/adapter_efvfm/model_500.pt", + "--num_samples_to_generate", str(int(7654)), +]) +base = os.path.join(root, "ef_vfm", "result", name, r"adapter_efvfm") +best = None +best_t = -1.0 +for r, _, files in os.walk(base): + if "samples.csv" in files: + p = os.path.join(r, "samples.csv") + t = os.path.getmtime(p) + if t > best_t: + best_t, best = t, p +if not best: + raise SystemExit("tabbyflow: no samples.csv in " + base) +shutil.copy(best, r"/work/output-SpecializedModels/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabbyflow-n20-7654-20260422_005231.csv") diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/_tabbyflow_train.py b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/_tabbyflow_train.py new file mode 100644 index 0000000000000000000000000000000000000000..901fe4e053db945aabf846dfefdf053408841d46 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/_tabbyflow_train.py @@ -0,0 +1,22 @@ + +import os, shutil, subprocess, sys +root = r"/workspace/ef-vfm" +name = r"pipeline_ds" +src = r"/work/output-SpecializedModels/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds" +os.makedirs(os.path.join(root, "data", name), exist_ok=True) +dst_data = os.path.join(root, "data", name) +dst_syn = os.path.join(root, "synthetic", name) +shutil.rmtree(dst_data, ignore_errors=True) +shutil.copytree(src, dst_data) +os.makedirs(dst_syn, exist_ok=True) +for fn in ("real.csv", "test.csv", "val.csv"): + shutil.copy(os.path.join(src, fn), os.path.join(dst_syn, fn)) +os.chdir(root) +os.environ["PYTHONPATH"] = root + os.pathsep + os.environ.get("PYTHONPATH", "") +os.environ["EFVFM_SMOKE_STEPS"] = "500" +os.environ["EFVFM_ADAPTER_TRAIN"] = "1" +subprocess.check_call([ + sys.executable, "main.py", + "--dataname", name, "--mode", "train", "--gpu", "0", + "--no_wandb", "--exp_name", r"adapter_efvfm", +]) diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/input_snapshot.json b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..46336eb7abd802103b6cd20dd83ff84a9661b00a --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/input_snapshot.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5795b9a74a5600778e83394debb2aa090e785727b5cc57ec23f5fca6df87ae94 +size 1359 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/models_tabbyflow/trained.pt b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/models_tabbyflow/trained.pt new file mode 100644 index 0000000000000000000000000000000000000000..f063a878c470d9d40f79db79881596e1e497dffd --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/models_tabbyflow/trained.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:adb734fec12f2251befd371dca69e481b19464aded2a6823105a01b4be6ddbe5 +size 40 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..b6f805cb611b5eb24d24c33860f3897d44b92b71 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81093ad7315dba850c2b92af3ef28cb2cb4b937f961dc1dbb466b60c355d7f24 +size 2463 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/public_gate/public_gate_report.json b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..1d58a2d510ce243dd476f2099806db9e4f5bf470 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/public_gate/public_gate_report.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4adcff0fa029aea42a6c910c34e47fd0aa0b155017ded717a5c03b5f0ecfe829 +size 912 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/public_gate/staged_input_manifest.json b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..efd3551e8258b47313c042b42c845d6aad038088 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/public_gate/staged_input_manifest.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc2f4b3d0a3a54243e2ff3a9803c7612f1dbd6012254c33c68f314606532ad7f +size 3274 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/runtime_result.json b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..bbafabeb4c0a1f82f5144b8a9fa7fb61fa879e14 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/runtime_result.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a77e1b550dfc46570b380ab1d5d688a91d36035acc2c5da12f311cc1fd69ad2 +size 466 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/staged_features.json b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..bed22f25df74704c6b61abbbac3f2f2c632a52c5 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/staged_features.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a22ed10942cfed5c408e8c1e37d6169591f60d625b40c117dea9aa4a57a5b8a +size 445 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/test.csv b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..88524bb10b10f11146922a7f3382c62f2bbf780a --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5db4ad3456ef2c15e4c6e8e3e2405eb0d506997097ae5af3de903a5fe5608cce +size 31623 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/train.csv b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..eb2ea62137a67a2c34081011d3829d00d95e6096 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489 +size 252576 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/val.csv b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..b36522e18a2e531ac4d4530bf29c2b19cde71f35 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/public/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b80a697c0aa16609cc20a3c7365f6fc3de47345dbd60d4a31b2012b7388af44 +size 31620 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/tabbyflow/adapter_report.json b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/tabbyflow/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..2ab280d43269c7af472f5c13a8900dda96076f4c --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/tabbyflow/adapter_report.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:543e340350414bc35bc98d255d21b3b2f31ee5b98f253b0d61e46c9384cee032 +size 324 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/tabbyflow/adapter_transforms_applied.json b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/tabbyflow/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..6f3aaa01a627a955d2022165805d2786c0da78ba --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/tabbyflow/adapter_transforms_applied.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 +size 2 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/tabbyflow/model_input_manifest.json b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/tabbyflow/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..bdb1c1c8deb443651c5d585d14a0921440b2920b --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/staged/tabbyflow/model_input_manifest.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ed91e482d2d8a074a96101f865805ca2dff09adfbc2212b1d866b8ca432461c +size 3474 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabbyflow-n20-7654-20260422_005231.csv b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabbyflow-n20-7654-20260422_005231.csv new file mode 100644 index 0000000000000000000000000000000000000000..9cb524b8547d50395949dcfa27b37057e061e40c --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabbyflow-n20-7654-20260422_005231.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a028b08173fd5ca109e891ba9da1cef98d31342486ce2a54e1bd6eeebacd563e +size 370385 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabbyflow_train_meta.json b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabbyflow_train_meta.json new file mode 100644 index 0000000000000000000000000000000000000000..18d978a0406162ed2e2c2d1db8b7fffaf089fe0f --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabbyflow_train_meta.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1bbe507388dc5629e9155e6ecf504bc121a9c227c10ff53532d15220fc65ee13 +size 78 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_cat_test.npy b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_cat_test.npy new file mode 100644 index 0000000000000000000000000000000000000000..1c42f7045f54e7883280960369bffb2957cb3f08 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_cat_test.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d8a3e907423912922dc74debea1a7688c24feb5b3859637959912b83a043c7ce +size 128 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_cat_train.npy b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_cat_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..250f542eb146abfda6680a39cde12061aa6b0ed4 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_cat_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4194e6e409780847a5c5c1a8f0e11c3720e9c00be6e4ef21a7dfae672a5e2a07 +size 128 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_cat_val.npy b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_cat_val.npy new file mode 100644 index 0000000000000000000000000000000000000000..2c1eef3a10a2f18719a91053b7449312f8aa10d3 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_cat_val.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50b0ffc476e3012c5ab9f72aae12d8bd3ccfe8962e6bdbcde8d631518e4ba613 +size 128 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_num_test.npy b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_num_test.npy new file mode 100644 index 0000000000000000000000000000000000000000..dcf6de926fc3575b581de86e979dad9994666135 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_num_test.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d87eff75b7ce715afa0a998295f2d0b23dbf50bbbcf891011bc811a095a722ec +size 15456 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_num_train.npy b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_num_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..9295fcc46f71ef2fba389dae775f102c4a15ffc5 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_num_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5fa6ece900b1f48c4d7336f1661143550c14968e8fb364ff1efef26c17dd6a2 +size 122592 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_num_val.npy b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_num_val.npy new file mode 100644 index 0000000000000000000000000000000000000000..81cfaa992a51f2e8d02661e80b1df5639d82af06 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/X_num_val.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e8cd35a8682e0368ff34d4f72dea66e0433fe7797ed794839beb06a17f55373 +size 15424 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/info.json b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/info.json new file mode 100644 index 0000000000000000000000000000000000000000..54c7aaa6c9234986a3a70c20ab3365f0599be07d --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/info.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f00090459ae6cf1b2632749e88feb9659324878da0793574141fd480cbd870c9 +size 1230 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/real.csv b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/real.csv new file mode 100644 index 0000000000000000000000000000000000000000..eb2ea62137a67a2c34081011d3829d00d95e6096 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/real.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489 +size 252576 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/test.csv b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..88524bb10b10f11146922a7f3382c62f2bbf780a --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5db4ad3456ef2c15e4c6e8e3e2405eb0d506997097ae5af3de903a5fe5608cce +size 31623 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/val.csv b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..b36522e18a2e531ac4d4530bf29c2b19cde71f35 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b80a697c0aa16609cc20a3c7365f6fc3de47345dbd60d4a31b2012b7388af44 +size 31620 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/y_test.npy b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/y_test.npy new file mode 100644 index 0000000000000000000000000000000000000000..5d46c08f704f7dd69856855cef1e1e3678129bb3 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/y_test.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:957c31415386eb02b801b226cf04617575ae987b56f9cd449eb84f4ef63a5d82 +size 3960 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/y_train.npy b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/y_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..e8fcdfc684493b109ade7e1db54fe062b9f582cf --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/y_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf23dddd80c93a0db5c33c2b827318fc85f88ed6ac86837e956bd7141eee438f +size 30744 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/y_val.npy b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/y_val.npy new file mode 100644 index 0000000000000000000000000000000000000000..482a53bf0551d3951864d37f4f55b383d62ed5eb --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/tabular_bundle/pipeline_ds/y_val.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:337b39111a57811c0445a55f1f78dbeaa88b47f6ba712b1dfbcf8ab32f8463b8 +size 3952 diff --git a/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/train_20260422_002904.log b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/train_20260422_002904.log new file mode 100644 index 0000000000000000000000000000000000000000..9208d16b02b99d3cab6520985d6c0759b95f3715 --- /dev/null +++ b/SynthData0523/main/n20/tabbyflow/tabbyflow-n20-20260422_002904/train_20260422_002904.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7aa54e54aae8571f3a247e465cb76546fff8670302ac72864ab00940d231198 +size 358192 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/_tabddpm_sample.py b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/_tabddpm_sample.py new file mode 100644 index 0000000000000000000000000000000000000000..d157a5db12d8ff2906040f192c5f3e86afdc3725 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/_tabddpm_sample.py @@ -0,0 +1,66 @@ +import os, sys, subprocess, json +import numpy as np +import pandas as pd + +tabddpm_root = "/workspace/tabddpm/code" +assert os.path.isdir(tabddpm_root), f"TabDDPM source not mounted: {tabddpm_root}" +env = os.environ.copy() +env["PYTHONPATH"] = tabddpm_root + (os.pathsep + env.get("PYTHONPATH", "")) + +# Reuse the compat wrapper (patches collections.Sequence for skorch) +wrapper = os.path.join(tabddpm_root, "_compat_run.py") +if not os.path.exists(wrapper): + with open(wrapper, "w") as f: + f.write( + "import collections, collections.abc\n" + "for _a in ('Sequence','MutableSequence','MutableMapping','Mapping'," + "'MutableSet','Set','Callable','Iterable','Iterator'):\n" + " if not hasattr(collections, _a): setattr(collections, _a, getattr(collections.abc, _a, None))\n" + "import sys, runpy\n" + "sys.argv = sys.argv[1:]\n" + "runpy.run_path(sys.argv[0], run_name='__main__')\n" + ) + +print(f"[TabDDPM] Sampling 7654 rows") +ret = subprocess.run( + [sys.executable, wrapper, "scripts/pipeline.py", + "--config", "/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/config_sample_20260425_095702.toml", + "--sample"], + cwd=tabddpm_root, + env=env +) +if ret.returncode != 0: + sys.exit(ret.returncode) + +# 将 .npy 输出转为 CSV(npy 在 TabDDPM 的 parent_dir,即 npy_dir) +info_path = "/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/data/info.json" +with open(info_path) as f: + info = json.load(f) + +output_dir = "/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/output" +col_names = info.get("column_names", []) + +parts = [] +x_num_path = os.path.join(output_dir, "X_num_train.npy") +x_cat_path = os.path.join(output_dir, "X_cat_train.npy") +y_path = os.path.join(output_dir, "y_train.npy") + +if os.path.exists(x_num_path): + parts.append(np.load(x_num_path, allow_pickle=True)) +if os.path.exists(x_cat_path): + parts.append(np.load(x_cat_path, allow_pickle=True).astype(float)) +if os.path.exists(y_path): + y = np.load(y_path, allow_pickle=True) + parts.append(y.reshape(-1, 1) if y.ndim == 1 else y) + +if parts: + combined = np.concatenate(parts, axis=1) + if col_names and len(col_names) == combined.shape[1]: + df = pd.DataFrame(combined, columns=col_names) + else: + df = pd.DataFrame(combined) + df.to_csv("/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/tabddpm-n20-7654-20260425_095702.csv", index=False) + print(f"[TabDDPM] Saved {len(df)} rows -> /work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/tabddpm-n20-7654-20260425_095702.csv") +else: + print("[TabDDPM] WARNING: No output .npy files found") + sys.exit(1) diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/_tabddpm_train.py b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/_tabddpm_train.py new file mode 100644 index 0000000000000000000000000000000000000000..19e0c28e7fd0d056e7236ab6430da7d47c7dd4c7 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/_tabddpm_train.py @@ -0,0 +1,32 @@ +import os, sys, subprocess + +tabddpm_root = "/workspace/tabddpm/code" +assert os.path.isdir(tabddpm_root), f"TabDDPM source not mounted: {tabddpm_root}" +env = os.environ.copy() +env["PYTHONPATH"] = tabddpm_root + (os.pathsep + env.get("PYTHONPATH", "")) + +# Write a wrapper that patches collections.Sequence (removed in Python 3.10+) +# before running pipeline.py - needed because skorch uses old API +wrapper = os.path.join(tabddpm_root, "_compat_run.py") +with open(wrapper, "w") as f: + f.write( + "import collections, collections.abc\n" + "for _a in ('Sequence','MutableSequence','MutableMapping','Mapping'," + "'MutableSet','Set','Callable','Iterable','Iterator'):\n" + " if not hasattr(collections, _a): setattr(collections, _a, getattr(collections.abc, _a, None))\n" + "import sys, runpy\n" + "sys.argv = sys.argv[1:]\n" + "runpy.run_path(sys.argv[0], run_name='__main__')\n" + ) + +print(f"[TabDDPM] Training, config=/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/config.toml") +ret = subprocess.run( + [sys.executable, wrapper, "scripts/pipeline.py", + "--config", "/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/config.toml", + "--train"], + cwd=tabddpm_root, + env=env +) +if ret.returncode != 0: + sys.exit(ret.returncode) +print("[TabDDPM] Training complete") diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/config.toml b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/config.toml new file mode 100644 index 0000000000000000000000000000000000000000..fbf9bc41064f4f5a470b79d860716a86e2f12aa6 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/config.toml @@ -0,0 +1,39 @@ +seed = 0 +parent_dir = "/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/output" +real_data_path = "/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/data" +model_type = "mlp" +num_numerical_features = 4 +device = "cuda:0" + +[model_params] +d_in = 4 +num_classes = 0 +is_y_cond = true + +[model_params.rtdl_params] +d_layers = [256, 256] +dropout = 0.0 + +[diffusion_params] +num_timesteps = 1000 +gaussian_loss_type = "mse" + +[train.main] +steps = 5000 +lr = 0.001 +weight_decay = 0.0 +batch_size = 256 + +[train.T] +seed = 0 +normalization = "quantile" +num_nan_policy = "__none__" +cat_nan_policy = "__none__" +cat_min_frequency = "__none__" +cat_encoding = "__none__" +y_policy = "default" + +[sample] +num_samples = 1000 +batch_size = 1000 +seed = 0 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/config_sample_20260424_222235.toml b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/config_sample_20260424_222235.toml new file mode 100644 index 0000000000000000000000000000000000000000..1f8bc4283196876ef1a8c89b5386a240fcdd9a93 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/config_sample_20260424_222235.toml @@ -0,0 +1,39 @@ +seed = 0 +parent_dir = "/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/output" +real_data_path = "/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/data" +model_type = "mlp" +num_numerical_features = 4 +device = "cuda:0" + +[model_params] +d_in = 4 +num_classes = 0 +is_y_cond = true + +[model_params.rtdl_params] +d_layers = [256, 256] +dropout = 0.0 + +[diffusion_params] +num_timesteps = 1000 +gaussian_loss_type = "mse" + +[train.main] +steps = 5000 +lr = 0.001 +weight_decay = 0.0 +batch_size = 256 + +[train.T] +seed = 0 +normalization = "quantile" +num_nan_policy = "__none__" +cat_nan_policy = "__none__" +cat_min_frequency = "__none__" +cat_encoding = "__none__" +y_policy = "default" + +[sample] +num_samples = 7654 +batch_size = 1000 +seed = 0 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/config_sample_20260425_045013.toml b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/config_sample_20260425_045013.toml new file mode 100644 index 0000000000000000000000000000000000000000..1f8bc4283196876ef1a8c89b5386a240fcdd9a93 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/config_sample_20260425_045013.toml @@ -0,0 +1,39 @@ +seed = 0 +parent_dir = "/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/output" +real_data_path = "/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/data" +model_type = "mlp" +num_numerical_features = 4 +device = "cuda:0" + +[model_params] +d_in = 4 +num_classes = 0 +is_y_cond = true + +[model_params.rtdl_params] +d_layers = [256, 256] +dropout = 0.0 + +[diffusion_params] +num_timesteps = 1000 +gaussian_loss_type = "mse" + +[train.main] +steps = 5000 +lr = 0.001 +weight_decay = 0.0 +batch_size = 256 + +[train.T] +seed = 0 +normalization = "quantile" +num_nan_policy = "__none__" +cat_nan_policy = "__none__" +cat_min_frequency = "__none__" +cat_encoding = "__none__" +y_policy = "default" + +[sample] +num_samples = 7654 +batch_size = 1000 +seed = 0 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/config_sample_20260425_095702.toml b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/config_sample_20260425_095702.toml new file mode 100644 index 0000000000000000000000000000000000000000..1f8bc4283196876ef1a8c89b5386a240fcdd9a93 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/config_sample_20260425_095702.toml @@ -0,0 +1,39 @@ +seed = 0 +parent_dir = "/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/output" +real_data_path = "/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/data" +model_type = "mlp" +num_numerical_features = 4 +device = "cuda:0" + +[model_params] +d_in = 4 +num_classes = 0 +is_y_cond = true + +[model_params.rtdl_params] +d_layers = [256, 256] +dropout = 0.0 + +[diffusion_params] +num_timesteps = 1000 +gaussian_loss_type = "mse" + +[train.main] +steps = 5000 +lr = 0.001 +weight_decay = 0.0 +batch_size = 256 + +[train.T] +seed = 0 +normalization = "quantile" +num_nan_policy = "__none__" +cat_nan_policy = "__none__" +cat_min_frequency = "__none__" +cat_encoding = "__none__" +y_policy = "default" + +[sample] +num_samples = 7654 +batch_size = 1000 +seed = 0 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/X_num_test.npy b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/X_num_test.npy new file mode 100644 index 0000000000000000000000000000000000000000..dcf6de926fc3575b581de86e979dad9994666135 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/X_num_test.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d87eff75b7ce715afa0a998295f2d0b23dbf50bbbcf891011bc811a095a722ec +size 15456 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/X_num_train.npy b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/X_num_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..9295fcc46f71ef2fba389dae775f102c4a15ffc5 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/X_num_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5fa6ece900b1f48c4d7336f1661143550c14968e8fb364ff1efef26c17dd6a2 +size 122592 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/X_num_val.npy b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/X_num_val.npy new file mode 100644 index 0000000000000000000000000000000000000000..81cfaa992a51f2e8d02661e80b1df5639d82af06 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/X_num_val.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e8cd35a8682e0368ff34d4f72dea66e0433fe7797ed794839beb06a17f55373 +size 15424 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/info.json b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/info.json new file mode 100644 index 0000000000000000000000000000000000000000..85dc91873c814ca849cccd1890b0647213575c4f --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/info.json @@ -0,0 +1,24 @@ +{ + "name": "benchmark_dataset", + "task_type": "regression", + "n_num_features": 4, + "n_cat_features": 0, + "train_size": 7654, + "num_col_idx": [ + 0, + 1, + 2, + 3 + ], + "cat_col_idx": [], + "target_col_idx": [ + 4 + ], + "column_names": [ + "AT", + "V", + "AP", + "RH", + "PE" + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/y_test.npy b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/y_test.npy new file mode 100644 index 0000000000000000000000000000000000000000..5d46c08f704f7dd69856855cef1e1e3678129bb3 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/y_test.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:957c31415386eb02b801b226cf04617575ae987b56f9cd449eb84f4ef63a5d82 +size 3960 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/y_train.npy b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/y_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..e8fcdfc684493b109ade7e1db54fe062b9f582cf --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/y_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf23dddd80c93a0db5c33c2b827318fc85f88ed6ac86837e956bd7141eee438f +size 30744 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/y_val.npy b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/y_val.npy new file mode 100644 index 0000000000000000000000000000000000000000..482a53bf0551d3951864d37f4f55b383d62ed5eb --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/data/y_val.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:337b39111a57811c0445a55f1f78dbeaa88b47f6ba712b1dfbcf8ab32f8463b8 +size 3952 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260321_173130.log b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260321_173130.log new file mode 100644 index 0000000000000000000000000000000000000000..891b25d0d5edc7677f18e6f0da8fc619bb42298d --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260321_173130.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f2f7d64b03fe4c34977483ac58930bf73127e39906e69cd5217693f95edd964 +size 21720 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260424_222235.log b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260424_222235.log new file mode 100644 index 0000000000000000000000000000000000000000..a1c0fe6f48b5c5de209507248ba4287a6285445d --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260424_222235.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98ae85f570f9ffd31e5a2b3733ee7d21fa5972c5551d2e00ce630ee3a4ba2ea4 +size 168619 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260425_045013.log b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260425_045013.log new file mode 100644 index 0000000000000000000000000000000000000000..77e1dfecc960c016c868e5e7ef5b5a14a4e0740f --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260425_045013.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d10f8f99354a73f122d3c2f28da0e6a5704138d08671f684da62db68033db92 +size 168302 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260425_095702.log b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260425_095702.log new file mode 100644 index 0000000000000000000000000000000000000000..8af309859acf7a19355da4eeae8c151479d2337c --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/gen_20260425_095702.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ce55c4ccc5cc0a2f5ddaf030df3e3ed9c4d2a823d892ccd878ff950dc5f7c21 +size 168393 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/input_snapshot.json b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..88dd4b94be82b8ac3fb2bedc5a9c82c25515f168 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/input_snapshot.json @@ -0,0 +1,36 @@ +{ + "dataset_id": "n20", + "model": "tabddpm", + "inputs": { + "train_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-train.csv", + "exists": true, + "size": 291758, + "sha256": "8768b9641a081ce32375b2739c6d0a6cdf66c1b03268c7db5f71ffd0019c97e2" + }, + "val_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-val.csv", + "exists": true, + "size": 36657, + "sha256": "c2dae02f854856ba824310ecaca5c73a72a3302753396aa681c82b69d65b174c" + }, + "test_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-test.csv", + "exists": true, + "size": 36232, + "sha256": "82c48522e82ea4c5e4c407ec9239e82558dcff1df413f3d0c382e77fa041bc88" + }, + "profile_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n20/n20-dataset_profile.json", + "exists": true, + "size": 2675, + "sha256": "7e7d747ab11beae1e58278dc8d6ae08d7ae6f14fe93f77a4fc1e6e589df21df4" + }, + "contract_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n20/n20-dataset_contract_v1.json", + "exists": true, + "size": 3047, + "sha256": "20f513ccbc9f09d5286bc8998a5772f42b78b40aa1ed60b079fa73edf9c78eec" + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/X_num_train.npy b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/X_num_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..55fc202024a19d051fd9ef964e9fde6bcfdc86f6 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/X_num_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f0377d97dde3ce8977abee93f71433c2a87b8a0fc5e493f2ad2a5c85efbf04b +size 245056 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/X_num_unnorm.npy b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/X_num_unnorm.npy new file mode 100644 index 0000000000000000000000000000000000000000..cb15f76226c2d931d75c6c9022860cd8d97f0ce1 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/X_num_unnorm.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:506564dc83244c1bf4599311aad23bad9251d41c41101c7cb176917ecf9ffc3c +size 245056 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/config.toml b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/config.toml new file mode 100644 index 0000000000000000000000000000000000000000..1f8bc4283196876ef1a8c89b5386a240fcdd9a93 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/config.toml @@ -0,0 +1,39 @@ +seed = 0 +parent_dir = "/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/output" +real_data_path = "/work/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/data" +model_type = "mlp" +num_numerical_features = 4 +device = "cuda:0" + +[model_params] +d_in = 4 +num_classes = 0 +is_y_cond = true + +[model_params.rtdl_params] +d_layers = [256, 256] +dropout = 0.0 + +[diffusion_params] +num_timesteps = 1000 +gaussian_loss_type = "mse" + +[train.main] +steps = 5000 +lr = 0.001 +weight_decay = 0.0 +batch_size = 256 + +[train.T] +seed = 0 +normalization = "quantile" +num_nan_policy = "__none__" +cat_nan_policy = "__none__" +cat_min_frequency = "__none__" +cat_encoding = "__none__" +y_policy = "default" + +[sample] +num_samples = 7654 +batch_size = 1000 +seed = 0 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/data/info.json b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/data/info.json new file mode 100644 index 0000000000000000000000000000000000000000..85dc91873c814ca849cccd1890b0647213575c4f --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/data/info.json @@ -0,0 +1,24 @@ +{ + "name": "benchmark_dataset", + "task_type": "regression", + "n_num_features": 4, + "n_cat_features": 0, + "train_size": 7654, + "num_col_idx": [ + 0, + 1, + 2, + 3 + ], + "cat_col_idx": [], + "target_col_idx": [ + 4 + ], + "column_names": [ + "AT", + "V", + "AP", + "RH", + "PE" + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/info.json b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/info.json new file mode 100644 index 0000000000000000000000000000000000000000..85dc91873c814ca849cccd1890b0647213575c4f --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/info.json @@ -0,0 +1,24 @@ +{ + "name": "benchmark_dataset", + "task_type": "regression", + "n_num_features": 4, + "n_cat_features": 0, + "train_size": 7654, + "num_col_idx": [ + 0, + 1, + 2, + 3 + ], + "cat_col_idx": [], + "target_col_idx": [ + 4 + ], + "column_names": [ + "AT", + "V", + "AP", + "RH", + "PE" + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/loss.csv b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/loss.csv new file mode 100644 index 0000000000000000000000000000000000000000..10ad5aec2fd6b0d12fff593b7d90ab0fbfe8128e --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/loss.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92a91f8718e1bd29a37580f0e3d12982aec85f2e1ffbe5e2f51aaca865d7a3af +size 1249 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/model.pt b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/model.pt new file mode 100644 index 0000000000000000000000000000000000000000..7a9f346035878151a5bb831d3bb8750f4d7b9421 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/model.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae6bb17d0375383ca0e834fdefed3079834ad6dba4cc42e3f74a23795478b271 +size 539921 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/model_ema.pt b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/model_ema.pt new file mode 100644 index 0000000000000000000000000000000000000000..adf26aeb541b8fa7db9221d0152a25c2752a672c --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/model_ema.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32a9a9cf391f60816c7163579209fc9ed5bada59edda5f8351e963b19ffea915 +size 540833 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/y_train.npy b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/y_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..6732102095c2131f856138c10f75900e3930c43e --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/output/y_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad644da3563deda9373042c43728df389f3303fdf3bf0261917393d7f33fa465 +size 61360 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..8618a420d9d101a283cfb38feb336ac37687988f --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,112 @@ +{ + "dataset_id": "n20", + "target_column": "PE", + "task_type": "regression", + "columns": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/public_gate/public_gate_report.json b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..91364f3480d02e634daea210e8cae28ad5402b46 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/public_gate/public_gate_report.json @@ -0,0 +1,37 @@ +{ + "dataset_id": "n20", + "status": "pass", + "checks": [ + { + "check_id": "PG001_csv_parse_ok", + "status": "pass" + }, + { + "check_id": "PG002_split_header_consistent", + "status": "pass" + }, + { + "check_id": "PG003_profile_header_match", + "status": "pass" + }, + { + "check_id": "PG004_missing_token_normalized", + "status": "pass" + }, + { + "check_id": "PG005_semantic_type_validated", + "status": "pass" + }, + { + "check_id": "PG006_target_defined_and_valid", + "status": "pass" + } + ], + "target_column": "PE", + "task_type": "regression", + "input_splits": { + "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-train.csv", + "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-val.csv", + "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-test.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/public_gate/staged_input_manifest.json b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..131d79845d7b0e63a496a2b8b90ea7973ad88bb2 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/public_gate/staged_input_manifest.json @@ -0,0 +1,117 @@ +{ + "dataset_id": "n20", + "target_column": "PE", + "task_type": "regression", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/public_gate/public_gate_report.json", + "column_schema": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/runtime_result.json b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..d76cdf0a3c3fcdc632aa445ca6dbf39b793d24b6 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/runtime_result.json @@ -0,0 +1,14 @@ +{ + "dataset_id": "n20", + "model": "tabddpm", + "run_id": "tabddpm-n20-20260321_172946", + "public_gate_status": "pass", + "adapter_ready_status": "pass", + "train_status": "skipped", + "generate_status": "success", + "reason_code": null, + "reason_detail": null, + "artifacts": { + "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/tabddpm-n20-7654-20260425_095702.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/staged_features.json b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..9394440ffb1562950776e6fb8b6683125b5a8ec2 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/staged_features.json @@ -0,0 +1,27 @@ +[ + { + "feature_name": "AT", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "V", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "AP", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "RH", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "PE", + "data_type": "continuous", + "is_target": true + } +] \ No newline at end of file diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/test.csv b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..88524bb10b10f11146922a7f3382c62f2bbf780a --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5db4ad3456ef2c15e4c6e8e3e2405eb0d506997097ae5af3de903a5fe5608cce +size 31623 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/train.csv b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..eb2ea62137a67a2c34081011d3829d00d95e6096 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489 +size 252576 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/val.csv b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..b36522e18a2e531ac4d4530bf29c2b19cde71f35 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b80a697c0aa16609cc20a3c7365f6fc3de47345dbd60d4a31b2012b7388af44 +size 31620 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/tabddpm/adapter_report.json b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/tabddpm/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..bb71ab583db13915a9738442731e5b9c8ad639b5 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/tabddpm/adapter_report.json @@ -0,0 +1,7 @@ +{ + "adapter_ready_status": "pass", + "adapter_fail_reason_code": null, + "adapter_fail_detail": null, + "adapter_transforms_applied": [], + "model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/staged/tabddpm/model_input_manifest.json" +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/tabddpm/adapter_transforms_applied.json b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/tabddpm/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/tabddpm/adapter_transforms_applied.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/tabddpm/model_input_manifest.json b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/tabddpm/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..be859dbc5c07ce4996dc946f298ff330943c4c5c --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/staged/tabddpm/model_input_manifest.json @@ -0,0 +1,119 @@ +{ + "dataset_id": "n20", + "model": "tabddpm", + "target_column": "PE", + "task_type": "regression", + "column_schema": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ], + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/public_gate/staged_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabddpm/tabddpm-n20-20260321_172946/public_gate/public_gate_report.json" +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/tabddpm-n20-1000-20260321_173130.csv b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/tabddpm-n20-1000-20260321_173130.csv new file mode 100644 index 0000000000000000000000000000000000000000..26a3a8f7781b94fe91894efbda2d4879bed59b5e --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/tabddpm-n20-1000-20260321_173130.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be3e51d1c9de1127ce6d2d925150bff2ab1eed2033cbff66ad2070cb50334ea3 +size 74002 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/tabddpm-n20-7654-20260425_095702.csv b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/tabddpm-n20-7654-20260425_095702.csv new file mode 100644 index 0000000000000000000000000000000000000000..b8ac8b18ab688085a5d5316afc7cb212f6bd46fa --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/tabddpm-n20-7654-20260425_095702.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4521aa20608171da4597b6c261029d9e110821615455d52c650f994b2a24f917 +size 618030 diff --git a/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/train_20260321_172946.log b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/train_20260321_172946.log new file mode 100644 index 0000000000000000000000000000000000000000..a6e1eb0dfb202793826b7fa88ba3b48022a03271 --- /dev/null +++ b/SynthData0523/main/n20/tabddpm/tabddpm-n20-20260321_172946/train_20260321_172946.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55ba5133e38e60f0ed9934a4d41fc5469a2b2fc783fbe839a43283758f3f8f0b +size 9172 diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/_tabpfgen_generate.py b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/_tabpfgen_generate.py new file mode 100644 index 0000000000000000000000000000000000000000..0a05f2250be0660826523dac09012e6995ac5140 --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/_tabpfgen_generate.py @@ -0,0 +1,87 @@ +import numpy as np +import pandas as pd +import json +from tabpfgen import TabPFGen + +df = pd.read_csv("/work/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/staged/public/train.csv") +target_col = "PE" + +feature_cols = [c for c in df.columns if c != target_col] + +# --- Label-encode categorical / object columns --- +cat_encodings = {} # col -> list of unique values (index = code) +for col in feature_cols: + if df[col].dtype == object or str(df[col].dtype) == 'category': + cats = sorted(df[col].dropna().unique().tolist(), key=str) + cat_map = {v: i for i, v in enumerate(cats)} + df[col] = df[col].map(cat_map).astype(float) + cat_encodings[col] = cats + print(f"[TabPFGen] Label-encoded '{col}' ({len(cats)} categories)") + +# Encode target if categorical +target_cats = None +if df[target_col].dtype == object or str(df[target_col].dtype) == 'category': + cats = sorted(df[target_col].dropna().unique().tolist(), key=str) + t_map = {v: i for i, v in enumerate(cats)} + df[target_col] = df[target_col].map(t_map).astype(float) + target_cats = cats + print(f"[TabPFGen] Label-encoded target '{target_col}' ({len(cats)} categories)") + +X = df[feature_cols].values.astype(np.float32) +y = df[target_col].values +target_n = int(7654) + +# Handle NaN +for i in range(X.shape[1]): + col_vals = X[:, i] + mask = np.isnan(col_vals) + if mask.any(): + mean_val = np.nanmean(col_vals) + X[mask, i] = mean_val if not np.isnan(mean_val) else 0.0 + +gen = TabPFGen( + n_sgld_steps=1000, + sgld_step_size=0.01, + sgld_noise_scale=0.01, + device="auto", +) + +print(f"[TabPFGen] Generating {target_n} rows via generate_regression") +X_syn, y_syn = gen.generate_regression(X, y, n_samples=target_n) + +syn_df = pd.DataFrame(X_syn, columns=feature_cols) +syn_df[target_col] = y_syn + +# --- Inverse label-encoding for categorical columns --- +for col, cats in cat_encodings.items(): + # Round to nearest integer index, clamp to valid range + codes = np.round(syn_df[col].values).astype(int) + codes = np.clip(codes, 0, len(cats) - 1) + syn_df[col] = [cats[c] for c in codes] + +if target_cats is not None: + codes = np.round(syn_df[target_col].values).astype(int) + codes = np.clip(codes, 0, len(target_cats) - 1) + syn_df[target_col] = [target_cats[c] for c in codes] + +# Ensure output row count is strictly aligned with target_n. +if len(syn_df) > target_n: + print(f"[TabPFGen] Trimming rows: {len(syn_df)} -> {target_n}") + syn_df = syn_df.iloc[:target_n].copy() +elif len(syn_df) < target_n: + deficit = target_n - len(syn_df) + print(f"[TabPFGen] Padding rows: {len(syn_df)} -> {target_n} (deficit={deficit})") + if len(syn_df) > 0: + extra = syn_df.sample(n=deficit, replace=True, random_state=42) + syn_df = pd.concat([syn_df.reset_index(drop=True), extra.reset_index(drop=True)], ignore_index=True) + else: + # Defensive fallback: if generator returns empty, bootstrap from training rows. + syn_df = df[feature_cols + [target_col]].sample( + n=target_n, replace=True, random_state=42 + ).reset_index(drop=True) + +syn_df = syn_df[list(df.columns)] +if len(syn_df) != target_n: + raise RuntimeError(f"[TabPFGen] Row alignment failed: got {len(syn_df)}, expected {target_n}") +syn_df.to_csv("/work/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/tabpfgen-n20-7654-20260422_191741.csv", index=False) +print(f"[TabPFGen] Saved {len(syn_df)} rows -> /work/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/tabpfgen-n20-7654-20260422_191741.csv") diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/gen_20260422_191741.log b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/gen_20260422_191741.log new file mode 100644 index 0000000000000000000000000000000000000000..8ef0fc902f75dfe450ee193588054601d524b20f --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/gen_20260422_191741.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac7708c47c7f7fb43089c0cac2966e38f31e69508731f22dad81fa2c3ee873a4 +size 526 diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/input_snapshot.json b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..495aea56fe98182b4762782dddf8cfc7ef8cd3fe --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/input_snapshot.json @@ -0,0 +1,36 @@ +{ + "dataset_id": "n20", + "model": "tabpfgen", + "inputs": { + "train_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-train.csv", + "exists": true, + "size": 291758, + "sha256": "8768b9641a081ce32375b2739c6d0a6cdf66c1b03268c7db5f71ffd0019c97e2" + }, + "val_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-val.csv", + "exists": true, + "size": 36657, + "sha256": "c2dae02f854856ba824310ecaca5c73a72a3302753396aa681c82b69d65b174c" + }, + "test_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-test.csv", + "exists": true, + "size": 36232, + "sha256": "82c48522e82ea4c5e4c407ec9239e82558dcff1df413f3d0c382e77fa041bc88" + }, + "profile_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n20/n20-dataset_profile.json", + "exists": true, + "size": 2675, + "sha256": "7e7d747ab11beae1e58278dc8d6ae08d7ae6f14fe93f77a4fc1e6e589df21df4" + }, + "contract_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n20/n20-dataset_contract_v1.json", + "exists": true, + "size": 3047, + "sha256": "20f513ccbc9f09d5286bc8998a5772f42b78b40aa1ed60b079fa73edf9c78eec" + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..8618a420d9d101a283cfb38feb336ac37687988f --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,112 @@ +{ + "dataset_id": "n20", + "target_column": "PE", + "task_type": "regression", + "columns": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/public_gate/public_gate_report.json b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..91364f3480d02e634daea210e8cae28ad5402b46 --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/public_gate/public_gate_report.json @@ -0,0 +1,37 @@ +{ + "dataset_id": "n20", + "status": "pass", + "checks": [ + { + "check_id": "PG001_csv_parse_ok", + "status": "pass" + }, + { + "check_id": "PG002_split_header_consistent", + "status": "pass" + }, + { + "check_id": "PG003_profile_header_match", + "status": "pass" + }, + { + "check_id": "PG004_missing_token_normalized", + "status": "pass" + }, + { + "check_id": "PG005_semantic_type_validated", + "status": "pass" + }, + { + "check_id": "PG006_target_defined_and_valid", + "status": "pass" + } + ], + "target_column": "PE", + "task_type": "regression", + "input_splits": { + "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-train.csv", + "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-val.csv", + "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-test.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/public_gate/staged_input_manifest.json b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..a9b58409a7d191ede3a1e0f2de4f502516d090c7 --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/public_gate/staged_input_manifest.json @@ -0,0 +1,117 @@ +{ + "dataset_id": "n20", + "target_column": "PE", + "task_type": "regression", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/public_gate/public_gate_report.json", + "column_schema": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/runner.log b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/runner.log new file mode 100644 index 0000000000000000000000000000000000000000..c8f5fb2d0240f97cd5ba3dac20c1e9842a8f39f5 --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/runner.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65c21e26e2dd93b71bb5158d9a0ac3f174e2d5f70851a8f2e864f3e542098cfc +size 1358 diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/runtime_result.json b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..7e656044c3662060fc2cf2e7e049f65f7ae839b6 --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/runtime_result.json @@ -0,0 +1,14 @@ +{ + "dataset_id": "n20", + "model": "tabpfgen", + "run_id": "n20-migrated-20260422_193053", + "public_gate_status": "pass", + "adapter_ready_status": "pass", + "train_status": "skipped", + "generate_status": "success", + "reason_code": null, + "reason_detail": null, + "artifacts": { + "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabpfgen/n20-migrated-20260422_193053/tabpfgen-n20-7654-20260422_191741.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/staged_features.json b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..9394440ffb1562950776e6fb8b6683125b5a8ec2 --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/staged_features.json @@ -0,0 +1,27 @@ +[ + { + "feature_name": "AT", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "V", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "AP", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "RH", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "PE", + "data_type": "continuous", + "is_target": true + } +] \ No newline at end of file diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/test.csv b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..88524bb10b10f11146922a7f3382c62f2bbf780a --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5db4ad3456ef2c15e4c6e8e3e2405eb0d506997097ae5af3de903a5fe5608cce +size 31623 diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/train.csv b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..eb2ea62137a67a2c34081011d3829d00d95e6096 --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489 +size 252576 diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/val.csv b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..b36522e18a2e531ac4d4530bf29c2b19cde71f35 --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/public/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b80a697c0aa16609cc20a3c7365f6fc3de47345dbd60d4a31b2012b7388af44 +size 31620 diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/tabpfgen/adapter_report.json b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/tabpfgen/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..bf5572f6d84fd21b93494c2aae825637992d2c37 --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/tabpfgen/adapter_report.json @@ -0,0 +1,7 @@ +{ + "adapter_ready_status": "pass", + "adapter_fail_reason_code": null, + "adapter_fail_detail": null, + "adapter_transforms_applied": [], + "model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/staged/tabpfgen/model_input_manifest.json" +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/tabpfgen/adapter_transforms_applied.json b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/tabpfgen/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/tabpfgen/adapter_transforms_applied.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/tabpfgen/model_input_manifest.json b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/tabpfgen/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..6214f7c48e6466a09a16ccd79df0f3eaab2b1bad --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/staged/tabpfgen/model_input_manifest.json @@ -0,0 +1,119 @@ +{ + "dataset_id": "n20", + "model": "tabpfgen", + "target_column": "PE", + "task_type": "regression", + "column_schema": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ], + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/public_gate/staged_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/temp/tabpfgen_regen_parallel_deadline/20260422_191739/n20/public_gate/public_gate_report.json" +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/tabpfgen-n20-7654-20260422_191741.csv b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/tabpfgen-n20-7654-20260422_191741.csv new file mode 100644 index 0000000000000000000000000000000000000000..a9418c1dc10a7be31a2eeeb24437f99d43bd3810 --- /dev/null +++ b/SynthData0523/main/n20/tabpfgen/n20-migrated-20260422_193053/tabpfgen-n20-7654-20260422_191741.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:107b37e63b5e419af330c0f63f6004bfb18afefcb1917c6ef296c8b41544a7a4 +size 437199 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/_tabsyn_sample.py b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/_tabsyn_sample.py new file mode 100644 index 0000000000000000000000000000000000000000..997c1b213ef1405bef7a2709e0d8ebbde7f93b55 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/_tabsyn_sample.py @@ -0,0 +1,39 @@ +import os, sys, subprocess + +work_dir = "/work/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043" +dataname = "tabsyn_n20" +output_csv = "/work/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043/tabsyn-n20-7654-20260427_025104.csv" +tabsyn_root = "/workspace/tabsyn" + +assert os.path.exists(tabsyn_root), f"TabSyn source not mounted: {tabsyn_root}" + +old = os.environ.get("PYTHONPATH", "") +os.environ["PYTHONPATH"] = tabsyn_root + (os.pathsep + old if old else "") +sys.path.insert(0, tabsyn_root) + +os.chdir(tabsyn_root) + +# Ensure data symlink exists +data_link = os.path.join(tabsyn_root, "data", dataname) +data_src = os.path.join(work_dir, "data", dataname) +os.makedirs(os.path.join(tabsyn_root, "data"), exist_ok=True) +if os.path.exists(data_link): + os.remove(data_link) +os.symlink(data_src, data_link) + +print(f"[TabSyn] Sampling 7654 rows") +env = os.environ.copy() +env.setdefault("TABSYN_RESUME", "1") +ret = subprocess.run( + [sys.executable, "main.py", + "--dataname", dataname, + "--mode", "sample", + "--method", "tabsyn", + "--gpu", "0", + "--save_path", output_csv], + cwd=tabsyn_root, + env=env +) +if ret.returncode != 0: + sys.exit(ret.returncode) +print(f"[TabSyn] Saved -> {output_csv}") diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/_tabsyn_train.py b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/_tabsyn_train.py new file mode 100644 index 0000000000000000000000000000000000000000..efb69de1c8c98b02330ba6bf1f44c97c3a071ab2 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/_tabsyn_train.py @@ -0,0 +1,63 @@ +import os, sys, subprocess + +work_dir = "/work/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043" +dataname = "tabsyn_n20" +tabsyn_root = "/workspace/tabsyn" + +assert os.path.exists(tabsyn_root), f"TabSyn source not mounted: {tabsyn_root}" + +old = os.environ.get("PYTHONPATH", "") +os.environ["PYTHONPATH"] = tabsyn_root + (os.pathsep + old if old else "") +sys.path.insert(0, tabsyn_root) + +os.chdir(tabsyn_root) + +# Symlink data dir into TabSyn data/ +data_link = os.path.join(tabsyn_root, "data", dataname) +data_src = os.path.join(work_dir, "data", dataname) +os.makedirs(os.path.join(tabsyn_root, "data"), exist_ok=True) +if os.path.exists(data_link): + os.remove(data_link) +os.symlink(data_src, data_link) + +env = os.environ.copy() +env.setdefault("TABSYN_RESUME", "1") +env.setdefault("TABSYN_VAE_BATCH_SIZE", "1024") +_te = 1 +if _te is not None: + env["TABSYN_VAE_EPOCHS"] = str(_te) + env["TABSYN_DIFFUSION_MAX_EPOCHS"] = str(max(_te + 1, 2)) + +# Data preprocessing is done on the host side (_prepare_data_dir) +# which creates .npy files, train/test CSVs, and info.json + +# Step 1: Train VAE (produces latent embeddings) +print(f"[TabSyn] Step 1/2: Training VAE in {tabsyn_root}, dataname={dataname}") +ret = subprocess.run( + [sys.executable, "main.py", + "--dataname", dataname, + "--mode", "train", + "--method", "vae", + "--gpu", "0"], + cwd=tabsyn_root, + env=env +) +if ret.returncode != 0: + print("[TabSyn] VAE training failed") + sys.exit(ret.returncode) + +# Step 2: Train diffusion model on latent space +print(f"[TabSyn] Step 2/2: Training diffusion model") +ret = subprocess.run( + [sys.executable, "main.py", + "--dataname", dataname, + "--mode", "train", + "--method", "tabsyn", + "--gpu", "0"], + cwd=tabsyn_root, + env=env +) +if ret.returncode != 0: + print("[TabSyn] Diffusion training failed") + sys.exit(ret.returncode) +print("[TabSyn] Training complete (VAE + Diffusion)") diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_cat_test.npy b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_cat_test.npy new file mode 100644 index 0000000000000000000000000000000000000000..425db9e4e753d49b111758ab37714b9ea0f844dc --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_cat_test.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32d26c38e7e13a438a3d45b8e9ebd0c40bdc79bc74599b4f39491a3661ca9ac3 +size 128 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_cat_train.npy b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_cat_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..425db9e4e753d49b111758ab37714b9ea0f844dc --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_cat_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32d26c38e7e13a438a3d45b8e9ebd0c40bdc79bc74599b4f39491a3661ca9ac3 +size 128 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_num_test.npy b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_num_test.npy new file mode 100644 index 0000000000000000000000000000000000000000..9295fcc46f71ef2fba389dae775f102c4a15ffc5 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_num_test.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5fa6ece900b1f48c4d7336f1661143550c14968e8fb364ff1efef26c17dd6a2 +size 122592 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_num_train.npy b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_num_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..9295fcc46f71ef2fba389dae775f102c4a15ffc5 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/X_num_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5fa6ece900b1f48c4d7336f1661143550c14968e8fb364ff1efef26c17dd6a2 +size 122592 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/info.json b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/info.json new file mode 100644 index 0000000000000000000000000000000000000000..d8080cf8dbc0d2f12c13776aaa210fc0c05f54e0 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/info.json @@ -0,0 +1,75 @@ +{ + "name": "tabsyn_n20", + "task_type": "regression", + "n_num_features": 4, + "n_cat_features": 0, + "train_size": 7654, + "num_col_idx": [ + 0, + 1, + 2, + 3 + ], + "cat_col_idx": [], + "target_col_idx": [ + 4 + ], + "column_names": [ + "AT", + "V", + "AP", + "RH", + "PE" + ], + "train_num": 7654, + "test_num": 7654, + "header": 0, + "file_type": "csv", + "data_path": "data/tabsyn_n20/train.csv", + "test_path": null, + "idx_mapping": { + "0": 0, + "1": 1, + "2": 2, + "3": 3, + "4": 4 + }, + "inverse_idx_mapping": { + "0": 0, + "1": 1, + "2": 2, + "3": 3, + "4": 4 + }, + "idx_name_mapping": { + "0": "AT", + "1": "V", + "2": "AP", + "3": "RH", + "4": "PE" + }, + "metadata": { + "columns": { + "0": { + "sdtype": "numerical", + "computer_representation": "Float" + }, + "1": { + "sdtype": "numerical", + "computer_representation": "Float" + }, + "2": { + "sdtype": "numerical", + "computer_representation": "Float" + }, + "3": { + "sdtype": "numerical", + "computer_representation": "Float" + }, + "4": { + "sdtype": "numerical", + "computer_representation": "Float" + } + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/test.csv b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..eb2ea62137a67a2c34081011d3829d00d95e6096 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489 +size 252576 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/train.csv b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..eb2ea62137a67a2c34081011d3829d00d95e6096 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489 +size 252576 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/y_test.npy b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/y_test.npy new file mode 100644 index 0000000000000000000000000000000000000000..da9111af743dea033c17df30c3d493b08a3e8a65 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/y_test.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37f4f94e5b866d65c67f649653180df6c8af4fc75f751387f1ef4e4927c90795 +size 61360 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/y_train.npy b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/y_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..da9111af743dea033c17df30c3d493b08a3e8a65 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/data/tabsyn_n20/y_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37f4f94e5b866d65c67f649653180df6c8af4fc75f751387f1ef4e4927c90795 +size 61360 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/gen_20260427_025104.log b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/gen_20260427_025104.log new file mode 100644 index 0000000000000000000000000000000000000000..40ad61ebd14a1974f1e621d8f18d83f4b45f7f4d --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/gen_20260427_025104.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:03516249b56c1770dc8a9242947e3f5785e460d52505eddfaee3fd145cc03e19 +size 661 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/input_snapshot.json b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..d1929206817416b74a9ab5c0164b49218d45d357 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/input_snapshot.json @@ -0,0 +1,36 @@ +{ + "dataset_id": "n20", + "model": "tabsyn", + "inputs": { + "train_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-train.csv", + "exists": true, + "size": 291758, + "sha256": "8768b9641a081ce32375b2739c6d0a6cdf66c1b03268c7db5f71ffd0019c97e2" + }, + "val_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-val.csv", + "exists": true, + "size": 36657, + "sha256": "c2dae02f854856ba824310ecaca5c73a72a3302753396aa681c82b69d65b174c" + }, + "test_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-test.csv", + "exists": true, + "size": 36232, + "sha256": "82c48522e82ea4c5e4c407ec9239e82558dcff1df413f3d0c382e77fa041bc88" + }, + "profile_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n20/n20-dataset_profile.json", + "exists": true, + "size": 2675, + "sha256": "7e7d747ab11beae1e58278dc8d6ae08d7ae6f14fe93f77a4fc1e6e589df21df4" + }, + "contract_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n20/n20-dataset_contract_v1.json", + "exists": true, + "size": 3047, + "sha256": "20f513ccbc9f09d5286bc8998a5772f42b78b40aa1ed60b079fa73edf9c78eec" + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..8618a420d9d101a283cfb38feb336ac37687988f --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,112 @@ +{ + "dataset_id": "n20", + "target_column": "PE", + "task_type": "regression", + "columns": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/public_gate/public_gate_report.json b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..91364f3480d02e634daea210e8cae28ad5402b46 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/public_gate/public_gate_report.json @@ -0,0 +1,37 @@ +{ + "dataset_id": "n20", + "status": "pass", + "checks": [ + { + "check_id": "PG001_csv_parse_ok", + "status": "pass" + }, + { + "check_id": "PG002_split_header_consistent", + "status": "pass" + }, + { + "check_id": "PG003_profile_header_match", + "status": "pass" + }, + { + "check_id": "PG004_missing_token_normalized", + "status": "pass" + }, + { + "check_id": "PG005_semantic_type_validated", + "status": "pass" + }, + { + "check_id": "PG006_target_defined_and_valid", + "status": "pass" + } + ], + "target_column": "PE", + "task_type": "regression", + "input_splits": { + "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-train.csv", + "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-val.csv", + "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-test.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/public_gate/staged_input_manifest.json b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..0767c802564677d260d04037e1b0cec1e8c99f1f --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/public_gate/staged_input_manifest.json @@ -0,0 +1,117 @@ +{ + "dataset_id": "n20", + "target_column": "PE", + "task_type": "regression", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043/public_gate/public_gate_report.json", + "column_schema": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/runtime_result.json b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..7a673aa583a47e6b927ed1ac67d78df42997012b --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/runtime_result.json @@ -0,0 +1,15 @@ +{ + "dataset_id": "n20", + "model": "tabsyn", + "run_id": "tabsyn-n20-20260427_025043", + "public_gate_status": "pass", + "adapter_ready_status": "pass", + "train_status": "success", + "generate_status": "success", + "reason_code": null, + "reason_detail": null, + "artifacts": { + "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043/tabsyn-n20-7654-20260427_025104.csv", + "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043" + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/staged_features.json b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..9394440ffb1562950776e6fb8b6683125b5a8ec2 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/staged_features.json @@ -0,0 +1,27 @@ +[ + { + "feature_name": "AT", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "V", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "AP", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "RH", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "PE", + "data_type": "continuous", + "is_target": true + } +] \ No newline at end of file diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/test.csv b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..88524bb10b10f11146922a7f3382c62f2bbf780a --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5db4ad3456ef2c15e4c6e8e3e2405eb0d506997097ae5af3de903a5fe5608cce +size 31623 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/train.csv b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..eb2ea62137a67a2c34081011d3829d00d95e6096 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489 +size 252576 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/val.csv b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..b36522e18a2e531ac4d4530bf29c2b19cde71f35 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b80a697c0aa16609cc20a3c7365f6fc3de47345dbd60d4a31b2012b7388af44 +size 31620 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/tabsyn/adapter_report.json b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/tabsyn/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..ddf43405912b7d82044ce9b67940f0906ed43832 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/tabsyn/adapter_report.json @@ -0,0 +1,7 @@ +{ + "adapter_ready_status": "pass", + "adapter_fail_reason_code": null, + "adapter_fail_detail": null, + "adapter_transforms_applied": [], + "model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043/staged/tabsyn/model_input_manifest.json" +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/tabsyn/adapter_transforms_applied.json b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/tabsyn/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/tabsyn/adapter_transforms_applied.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/tabsyn/model_input_manifest.json b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/tabsyn/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..6dbe886791faf2aaa213b3d22b2c6d633e1c6565 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/staged/tabsyn/model_input_manifest.json @@ -0,0 +1,119 @@ +{ + "dataset_id": "n20", + "model": "tabsyn", + "target_column": "PE", + "task_type": "regression", + "column_schema": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ], + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043/public_gate/staged_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tabsyn/tabsyn-n20-20260427_025043/public_gate/public_gate_report.json" +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/synthetic/tabsyn_n20/real.csv b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/synthetic/tabsyn_n20/real.csv new file mode 100644 index 0000000000000000000000000000000000000000..eb2ea62137a67a2c34081011d3829d00d95e6096 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/synthetic/tabsyn_n20/real.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489 +size 252576 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/synthetic/tabsyn_n20/test.csv b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/synthetic/tabsyn_n20/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..eb2ea62137a67a2c34081011d3829d00d95e6096 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/synthetic/tabsyn_n20/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489 +size 252576 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/tabsyn-n20-7654-20260427_025104.csv b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/tabsyn-n20-7654-20260427_025104.csv new file mode 100644 index 0000000000000000000000000000000000000000..1268a5473e1512b858a17fc938dba6d9b1c08883 --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/tabsyn-n20-7654-20260427_025104.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbbf560c2d982397c7c8d219e97990262b4e4932e25bbf4c908f439852b0a5d2 +size 370268 diff --git a/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/train_20260427_025043.log b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/train_20260427_025043.log new file mode 100644 index 0000000000000000000000000000000000000000..67105782b2c81155280fe37d2cebd8329fbeaafa --- /dev/null +++ b/SynthData0523/main/n20/tabsyn/tabsyn-n20-20260427_025043/train_20260427_025043.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47907a18e76748873c412faa733266c6b43fbcf30a32a5c448672f16b7d44ad2 +size 3125 diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/_tvae_generate.py b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/_tvae_generate.py new file mode 100644 index 0000000000000000000000000000000000000000..334417c718a60d665c90113e00180ea498857996 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/_tvae_generate.py @@ -0,0 +1,21 @@ +import os, sys +sys.path.insert(0, "/work") +from src.SpecificModels.ctgan_rdt_inverse_fix import apply_ctgan_inverse_fix +apply_ctgan_inverse_fix() +import pandas as pd +from ctgan.synthesizers.tvae import TVAE +os.environ.setdefault("LOKY_MAX_CPU_COUNT", "8") +os.environ.setdefault("OPENBLAS_NUM_THREADS", "8") +os.environ.setdefault("MKL_NUM_THREADS", "8") +model = TVAE.load("/work/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/models_300epochs/tvae_300epochs.pt") +total = 7654 +chunk = min(50000, total) if total > 50000 else total +parts = [] +left = total +while left > 0: + take = min(chunk, left) + parts.append(model.sample(take)) + left -= take +samples = pd.concat(parts, ignore_index=True) if len(parts) > 1 else parts[0] +samples.to_csv("/work/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/tvae-n20-7654-20260423_040345.csv", index=False) +print(f"[TVAE] Generated {total} rows (chunks={len(parts)}) -> /work/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/tvae-n20-7654-20260423_040345.csv") diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/_tvae_train.py b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/_tvae_train.py new file mode 100644 index 0000000000000000000000000000000000000000..a683ee11aac45b9aa960fdccdff55451a2220a07 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/_tvae_train.py @@ -0,0 +1,16 @@ +import json, sys +import pandas as pd +from ctgan.data import read_csv +from ctgan.synthesizers.tvae import TVAE + +csv_path = "/work/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/staged/public/train.csv" +meta_path = "/work/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/tvae_metadata.json" +save_path = "/work/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/models_300epochs/tvae_300epochs.pt" +epochs = 300 + +data, discrete_columns = read_csv(csv_path, meta_path, header=True, discrete=None) +print(f"[TVAE] Training on {len(data)} rows, {len(data.columns)} cols, epochs={epochs}") +model = TVAE(epochs=epochs, batch_size=500) +model.fit(data, discrete_columns) +model.save(save_path) +print(f"[TVAE] Model saved -> {save_path}") diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/gen_20260328_055255.log b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/gen_20260328_055255.log new file mode 100644 index 0000000000000000000000000000000000000000..d70bbfefd255b82a7314af9e1e92c176c4e4a6e9 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/gen_20260328_055255.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f3f7377bc4b94c18a347e006614887312f10a364dda80b6894e4e89aa9d577f +size 129 diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/gen_20260330_071012.log b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/gen_20260330_071012.log new file mode 100644 index 0000000000000000000000000000000000000000..de9cdc5c41f9792dd4b02a733ec0db19876f2c31 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/gen_20260330_071012.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d63cabaded9a9c8d3a3b1c7adb3bb528083f8ac713d03d001d2c2b930661df8 +size 129 diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/gen_20260423_040345.log b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/gen_20260423_040345.log new file mode 100644 index 0000000000000000000000000000000000000000..17e6a9c07031343e49b9ecaed0b4b672a51336fa --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/gen_20260423_040345.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20ab0f01330ff8c23cb888a86740e0b0d97362b90951f7b6c90fbbe108377cf9 +size 542 diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/input_snapshot.json b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..4f87e960764e5bbffe32e8b2f91fc5df5c018742 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/input_snapshot.json @@ -0,0 +1,36 @@ +{ + "dataset_id": "n20", + "model": "tvae", + "inputs": { + "train_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-train.csv", + "exists": true, + "size": 291758, + "sha256": "8768b9641a081ce32375b2739c6d0a6cdf66c1b03268c7db5f71ffd0019c97e2" + }, + "val_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-val.csv", + "exists": true, + "size": 36657, + "sha256": "c2dae02f854856ba824310ecaca5c73a72a3302753396aa681c82b69d65b174c" + }, + "test_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-test.csv", + "exists": true, + "size": 36232, + "sha256": "82c48522e82ea4c5e4c407ec9239e82558dcff1df413f3d0c382e77fa041bc88" + }, + "profile_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n20/n20-dataset_profile.json", + "exists": true, + "size": 2675, + "sha256": "7e7d747ab11beae1e58278dc8d6ae08d7ae6f14fe93f77a4fc1e6e589df21df4" + }, + "contract_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n20/n20-dataset_contract_v1.json", + "exists": true, + "size": 3047, + "sha256": "20f513ccbc9f09d5286bc8998a5772f42b78b40aa1ed60b079fa73edf9c78eec" + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/models_300epochs/train_20260328_054850.log b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/models_300epochs/train_20260328_054850.log new file mode 100644 index 0000000000000000000000000000000000000000..df4b7ea7956cd253ccdbe76589e6e8ead7f29bf2 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/models_300epochs/train_20260328_054850.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5aaeab29cbdf838004382a70b877b12ff3713a1f8f13ecf0b7918b9d2fdac10 +size 171 diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/models_300epochs/tvae_300epochs.pt b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/models_300epochs/tvae_300epochs.pt new file mode 100644 index 0000000000000000000000000000000000000000..202ec7d207c46a043202e4e29b45f0e1778c31b5 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/models_300epochs/tvae_300epochs.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d377656a20e5a3c33a5da0ccc71c846bfa423f39be547f658452bd85ec12590b +size 456748 diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..8618a420d9d101a283cfb38feb336ac37687988f --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,112 @@ +{ + "dataset_id": "n20", + "target_column": "PE", + "task_type": "regression", + "columns": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/public_gate/public_gate_report.json b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..91364f3480d02e634daea210e8cae28ad5402b46 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/public_gate/public_gate_report.json @@ -0,0 +1,37 @@ +{ + "dataset_id": "n20", + "status": "pass", + "checks": [ + { + "check_id": "PG001_csv_parse_ok", + "status": "pass" + }, + { + "check_id": "PG002_split_header_consistent", + "status": "pass" + }, + { + "check_id": "PG003_profile_header_match", + "status": "pass" + }, + { + "check_id": "PG004_missing_token_normalized", + "status": "pass" + }, + { + "check_id": "PG005_semantic_type_validated", + "status": "pass" + }, + { + "check_id": "PG006_target_defined_and_valid", + "status": "pass" + } + ], + "target_column": "PE", + "task_type": "regression", + "input_splits": { + "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-train.csv", + "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-val.csv", + "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n20/n20-test.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/public_gate/staged_input_manifest.json b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..d6a9a0cfc1f28bef022ad644431a72b59586a2d1 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/public_gate/staged_input_manifest.json @@ -0,0 +1,117 @@ +{ + "dataset_id": "n20", + "target_column": "PE", + "task_type": "regression", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/public_gate/public_gate_report.json", + "column_schema": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/runtime_result.json b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..95f1db98c96fec6e88c8bde4fd2c13d2d86a51c6 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/runtime_result.json @@ -0,0 +1,14 @@ +{ + "dataset_id": "n20", + "model": "tvae", + "run_id": "tvae-n20-20260328_054850", + "public_gate_status": "pass", + "adapter_ready_status": "pass", + "train_status": "skipped", + "generate_status": "success", + "reason_code": null, + "reason_detail": null, + "artifacts": { + "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/tvae-n20-7654-20260423_040345.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/staged_features.json b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..9394440ffb1562950776e6fb8b6683125b5a8ec2 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/staged_features.json @@ -0,0 +1,27 @@ +[ + { + "feature_name": "AT", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "V", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "AP", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "RH", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "PE", + "data_type": "continuous", + "is_target": true + } +] \ No newline at end of file diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/test.csv b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..88524bb10b10f11146922a7f3382c62f2bbf780a --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5db4ad3456ef2c15e4c6e8e3e2405eb0d506997097ae5af3de903a5fe5608cce +size 31623 diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/train.csv b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..eb2ea62137a67a2c34081011d3829d00d95e6096 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489 +size 252576 diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/val.csv b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..b36522e18a2e531ac4d4530bf29c2b19cde71f35 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/public/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b80a697c0aa16609cc20a3c7365f6fc3de47345dbd60d4a31b2012b7388af44 +size 31620 diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/tvae/adapter_report.json b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/tvae/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..de4deef112617447c5a88112f8225b673e6840d7 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/tvae/adapter_report.json @@ -0,0 +1,7 @@ +{ + "adapter_ready_status": "pass", + "adapter_fail_reason_code": null, + "adapter_fail_detail": null, + "adapter_transforms_applied": [], + "model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/staged/tvae/model_input_manifest.json" +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/tvae/adapter_transforms_applied.json b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/tvae/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/tvae/adapter_transforms_applied.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/tvae/model_input_manifest.json b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/tvae/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..600da15f7cdc23cdfc6918f01fbb91ff0b29213e --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/staged/tvae/model_input_manifest.json @@ -0,0 +1,119 @@ +{ + "dataset_id": "n20", + "model": "tvae", + "target_column": "PE", + "task_type": "regression", + "column_schema": [ + { + "name": "AT", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2635, + "unique_ratio": 0.344264, + "example_values": [ + "29.64", + "10.63", + "27.09", + "24.2", + "15.31" + ] + } + }, + { + "name": "V", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 625, + "unique_ratio": 0.081657, + "example_values": [ + "67.790000000000006", + "37.5", + "59.15", + "57.85", + "52.75" + ] + } + }, + { + "name": "AP", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2365, + "unique_ratio": 0.308989, + "example_values": [ + "1009.99", + "1008.93", + "1013.02", + "1013.05", + "1025.21" + ] + } + }, + { + "name": "RH", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4096, + "unique_ratio": 0.535145, + "example_values": [ + "51.23", + "98.14", + "55.18", + "70.290000000000006", + "55.22" + ] + } + }, + { + "name": "PE", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4351, + "unique_ratio": 0.568461, + "example_values": [ + "440.74", + "474.81", + "438.9", + "446.87", + "460.77" + ] + } + } + ], + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/public_gate/staged_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n20/tvae/tvae-n20-20260328_054850/public_gate/public_gate_report.json" +} \ No newline at end of file diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae-n20-1000-20260328_055255.csv b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae-n20-1000-20260328_055255.csv new file mode 100644 index 0000000000000000000000000000000000000000..54c1604ee51d8c68c0ccda7ea4899023fbff6cf0 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae-n20-1000-20260328_055255.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:703e31c56040e72529d89d09385e0f92a9e0e25588c896bc6a5adf649c20f3f8 +size 91808 diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae-n20-7654-20260330_071012.csv b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae-n20-7654-20260330_071012.csv new file mode 100644 index 0000000000000000000000000000000000000000..afc91f32ef441972ae4bd1e7bc014e02c587260c --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae-n20-7654-20260330_071012.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc9304107b21cfa6b0d181ad986ed9aafc6651e16cc14ebd0a26694447ed1110 +size 702658 diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae-n20-7654-20260423_040345.csv b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae-n20-7654-20260423_040345.csv new file mode 100644 index 0000000000000000000000000000000000000000..c80387e6eb4c07d561ffda5c2bd284a629e8e126 --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae-n20-7654-20260423_040345.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9b645fd871e073dde39649808fd361ec0c0e8380b99735b5dfa0b83f20fbddb +size 704322 diff --git a/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae_metadata.json b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..9718f799216c76afaec80445613f5b1a930e899a --- /dev/null +++ b/SynthData0523/main/n20/tvae/tvae-n20-20260328_054850/tvae_metadata.json @@ -0,0 +1,24 @@ +{ + "columns": [ + { + "name": "AT", + "type": "continuous" + }, + { + "name": "V", + "type": "continuous" + }, + { + "name": "AP", + "type": "continuous" + }, + { + "name": "RH", + "type": "continuous" + }, + { + "name": "PE", + "type": "continuous" + } + ] +} \ No newline at end of file