diff --git a/.gitattributes b/.gitattributes index 76b0aa0523b3bc993ed26ca4eaeca95408319b53..909458a25ff0d77f422762fa84b4f9de0337a348 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5700,3 +5700,29 @@ SynthData0523/main/c7/tabsyn/tabsyn-c7-20260420_233446/synthetic/tabsyn_c7/real. SynthData0523/main/c7/tabsyn/tabsyn-c7-20260420_233446/synthetic/tabsyn_c7/test.csv filter=lfs diff=lfs merge=lfs -text SynthData0523/main/c7/tabsyn/tabsyn-c7-20260420_233446/tabsyn-c7-10368-20260421_004501.csv filter=lfs diff=lfs merge=lfs -text SynthData0523/main/c7/tabsyn/tabsyn-c7-20260420_233446/train_20260420_233446.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_cat_test.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_cat_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_num_test.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_num_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/y_test.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/y_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/gen_20260429_061302.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/synthetic/tabsyn_c7/real.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/synthetic/tabsyn_c7/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/tabsyn-c7-10368-20260429_061302.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/train_20260429_052312.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/gen_20260321_070932.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/gen_20260330_065302.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/models_300epochs/train_20260321_070722.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/models_300epochs/tvae_300epochs.pt filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/tvae-c7-1000-20260321_070932.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/tvae-c7-10368-20260330_065302.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c7/tvae/tvae-c7-20260429_031938/gen_20260429_032040.log filter=lfs diff=lfs merge=lfs -text diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_cat_test.npy b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_cat_test.npy new file mode 100644 index 0000000000000000000000000000000000000000..15d20f20875bae252cf0a056e5ee5571e0584d8b --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_cat_test.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5898435dc71fd39ba74a22d4faf107144b4c9f639078c4877ab5039b7e25c161 +size 580736 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_cat_train.npy b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_cat_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..15d20f20875bae252cf0a056e5ee5571e0584d8b --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_cat_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5898435dc71fd39ba74a22d4faf107144b4c9f639078c4877ab5039b7e25c161 +size 580736 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_num_test.npy b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_num_test.npy new file mode 100644 index 0000000000000000000000000000000000000000..230bb001c11cc40bc7fb7ee0ee1b20d4124840e6 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_num_test.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5d26ec504320ce42b09c7bc5b58833c8ac8a26a5085fa51047744a2b19e0da2 +size 41600 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_num_train.npy b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_num_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..230bb001c11cc40bc7fb7ee0ee1b20d4124840e6 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/X_num_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5d26ec504320ce42b09c7bc5b58833c8ac8a26a5085fa51047744a2b19e0da2 +size 41600 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/info.json b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/info.json new file mode 100644 index 0000000000000000000000000000000000000000..477f08a9ea5987c4318de0ef9846fa6d0ee4608a --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/info.json @@ -0,0 +1,105 @@ +{ + "name": "tabsyn_c7", + "task_type": "multiclass", + "n_num_features": 1, + "n_cat_features": 7, + "train_size": 10368, + "num_col_idx": [ + 0 + ], + "cat_col_idx": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7 + ], + "target_col_idx": [ + 8 + ], + "column_names": [ + "parents", + "has_nurs", + "form", + "children", + "housing", + "finance", + "social", + "health", + "class" + ], + "train_num": 10368, + "test_num": 10368, + "header": 0, + "file_type": "csv", + "data_path": "data/tabsyn_c7/train.csv", + "test_path": null, + "idx_mapping": { + "0": 0, + "1": 1, + "2": 2, + "3": 3, + "4": 4, + "5": 5, + "6": 6, + "7": 7, + "8": 8 + }, + "inverse_idx_mapping": { + "0": 0, + "1": 1, + "2": 2, + "3": 3, + "4": 4, + "5": 5, + "6": 6, + "7": 7, + "8": 8 + }, + "idx_name_mapping": { + "0": "parents", + "1": "has_nurs", + "2": "form", + "3": "children", + "4": "housing", + "5": "finance", + "6": "social", + "7": "health", + "8": "class" + }, + "n_classes": 5, + "metadata": { + "columns": { + "0": { + "sdtype": "numerical", + "computer_representation": "Float" + }, + "1": { + "sdtype": "categorical" + }, + "2": { + "sdtype": "categorical" + }, + "3": { + "sdtype": "categorical" + }, + "4": { + "sdtype": "categorical" + }, + "5": { + "sdtype": "categorical" + }, + "6": { + "sdtype": "categorical" + }, + "7": { + "sdtype": "categorical" + }, + "8": { + "sdtype": "categorical" + } + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/test.csv b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..f626c9ced7fe6f41ec3af4e940622d41e2546f39 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66fea27ff1eb37a50e165cda89ed19e1b96f6a3f11cc541ffd1a427c3211f00a +size 186691 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/train.csv b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..f626c9ced7fe6f41ec3af4e940622d41e2546f39 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66fea27ff1eb37a50e165cda89ed19e1b96f6a3f11cc541ffd1a427c3211f00a +size 186691 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/y_test.npy b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/y_test.npy new file mode 100644 index 0000000000000000000000000000000000000000..12f99c1af3cdb775ca9b72516555bbe31ff545cb --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/y_test.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c7233c5790f228c81991a22961964f9cb18192e1d68da9a5bc0555156e771f1 +size 83072 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/y_train.npy b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/y_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..12f99c1af3cdb775ca9b72516555bbe31ff545cb --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/data/tabsyn_c7/y_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c7233c5790f228c81991a22961964f9cb18192e1d68da9a5bc0555156e771f1 +size 83072 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/gen_20260429_061302.log b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/gen_20260429_061302.log new file mode 100644 index 0000000000000000000000000000000000000000..b5217fac2d7771cffbe9330277768044383f3059 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/gen_20260429_061302.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b444b4929848be3b58d03551ea3fdb6d3f17bfa36bce07cd3642988c2aa68e0 +size 944 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/input_snapshot.json b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..fb7245e08a32f0563985ab6661bc6a7f63b112b4 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/input_snapshot.json @@ -0,0 +1,36 @@ +{ + "dataset_id": "c7", + "model": "tabsyn", + "inputs": { + "train_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-train.csv", + "exists": true, + "size": 857718, + "sha256": "0ec97b49cecfd452f07551a63db7b812b5998a1e37101eae82255d00aa6a6243" + }, + "val_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-val.csv", + "exists": true, + "size": 107489, + "sha256": "4501bb2be19f7e13b7ff5e9dedd74e3dd42f2cafc8cefd5435bda61fc974a769" + }, + "test_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-test.csv", + "exists": true, + "size": 107327, + "sha256": "f9e808033a07feabb980addcf8c5f75111189ac2fb70993b8ad0f5ca3d5cfbae" + }, + "profile_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c7/c7-dataset_profile.json", + "exists": true, + "size": 4014, + "sha256": "60424c615b91a26cf02d9bc1d7f91caa0ceb95bab39eb7cff6f9edea3ca0600e" + }, + "contract_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c7/c7-dataset_contract_v1.json", + "exists": true, + "size": 4759, + "sha256": "79a434a1e2553b14b9f2e98c1adfc32a71aaa0d6cd49234f3f8a5603efca4ebd" + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..3ea4859ec2aa245a19531b254f45d87237c23069 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,183 @@ +{ + "dataset_id": "c7", + "target_column": "class", + "task_type": "classification", + "columns": [ + { + "name": "parents", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "usual", + "pretentious", + "great_pret" + ] + } + }, + { + "name": "has_nurs", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 5, + "unique_ratio": 0.000482, + "example_values": [ + "very_crit", + "critical", + "improper", + "less_proper", + "proper" + ] + } + }, + { + "name": "form", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.000386, + "example_values": [ + "complete", + "completed", + "incomplete", + "foster" + ] + } + }, + { + "name": "children", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.000386, + "example_values": [ + "1", + "3", + "2", + "more" + ] + } + }, + { + "name": "housing", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "less_conv", + "convenient", + "critical" + ] + } + }, + { + "name": "finance", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2, + "unique_ratio": 0.000193, + "example_values": [ + "convenient", + "inconv" + ] + } + }, + { + "name": "social", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "slightly_prob", + "nonprob", + "problematic" + ] + } + }, + { + "name": "health", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "recommended", + "priority", + "not_recom" + ] + } + }, + { + "name": "class", + "role": "target", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 5, + "unique_ratio": 0.000482, + "example_values": [ + "priority", + "spec_prior", + "not_recom", + "very_recom", + "recommend" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/public_gate/public_gate_report.json b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..3328fe59cd490a424e50f931e9eedba9e81d1cec --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/public_gate/public_gate_report.json @@ -0,0 +1,37 @@ +{ + "dataset_id": "c7", + "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": "class", + "task_type": "classification", + "input_splits": { + "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-train.csv", + "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-val.csv", + "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-test.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/public_gate/staged_input_manifest.json b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..30d2613361e7466d2d40ea42d773d2da3433d132 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/public_gate/staged_input_manifest.json @@ -0,0 +1,188 @@ +{ + "dataset_id": "c7", + "target_column": "class", + "task_type": "classification", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/tabsyn/tabsyn-c7-20260429_052312/public_gate/public_gate_report.json", + "column_schema": [ + { + "name": "parents", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "usual", + "pretentious", + "great_pret" + ] + } + }, + { + "name": "has_nurs", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 5, + "unique_ratio": 0.000482, + "example_values": [ + "very_crit", + "critical", + "improper", + "less_proper", + "proper" + ] + } + }, + { + "name": "form", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.000386, + "example_values": [ + "complete", + "completed", + "incomplete", + "foster" + ] + } + }, + { + "name": "children", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.000386, + "example_values": [ + "1", + "3", + "2", + "more" + ] + } + }, + { + "name": "housing", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "less_conv", + "convenient", + "critical" + ] + } + }, + { + "name": "finance", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2, + "unique_ratio": 0.000193, + "example_values": [ + "convenient", + "inconv" + ] + } + }, + { + "name": "social", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "slightly_prob", + "nonprob", + "problematic" + ] + } + }, + { + "name": "health", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "recommended", + "priority", + "not_recom" + ] + } + }, + { + "name": "class", + "role": "target", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 5, + "unique_ratio": 0.000482, + "example_values": [ + "priority", + "spec_prior", + "not_recom", + "very_recom", + "recommend" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/runtime_result.json b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..73df2f8e6328f64cc8c323e741930ead11c2fb23 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/runtime_result.json @@ -0,0 +1,15 @@ +{ + "dataset_id": "c7", + "model": "tabsyn", + "run_id": "tabsyn-c7-20260429_052312", + "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-Benchmark-trainonly-v1/c7/tabsyn/tabsyn-c7-20260429_052312/tabsyn-c7-10368-20260429_061302.csv", + "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/tabsyn/tabsyn-c7-20260429_052312" + } +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/staged_features.json b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..0e23df6bcfb7ecfd44dfefc3d0ca0bf6b6aebc60 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/staged_features.json @@ -0,0 +1,47 @@ +[ + { + "feature_name": "parents", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "has_nurs", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "form", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "children", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "housing", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "finance", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "social", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "health", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "class", + "data_type": "categorical", + "is_target": true + } +] \ No newline at end of file diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/test.csv b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..cb9d7081ca745e9eed28a35168872d450c4a2a44 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2042076337d5c37c6476e6bca2bd33cb5a171450c27894534ef50ac223256058 +size 106030 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/train.csv b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..4c8e5e0c5031fc7e8e25213132c1231950ec29da --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b37f6b2ef5257f40bd826ac956749881f0f474362bdb56e8c5728ad629242e3a +size 847349 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/val.csv b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..55792963756b1ae35b4d79dee11881372962b8d5 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eff6dec27c3740661a1ae84dea391d690dfb60342bfd5d7527b903fdd6009780 +size 106192 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/tabsyn/adapter_report.json b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/tabsyn/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..4ba77794db15e6ab3f70b54576dd92d19741ae54 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/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-Benchmark-trainonly-v1/c7/tabsyn/tabsyn-c7-20260429_052312/staged/tabsyn/model_input_manifest.json" +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/tabsyn/adapter_transforms_applied.json b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/tabsyn/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/tabsyn/adapter_transforms_applied.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/tabsyn/model_input_manifest.json b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/tabsyn/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..b0479d88d5b54604c27c6ea3e84f40676bf3a199 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/staged/tabsyn/model_input_manifest.json @@ -0,0 +1,190 @@ +{ + "dataset_id": "c7", + "model": "tabsyn", + "target_column": "class", + "task_type": "classification", + "column_schema": [ + { + "name": "parents", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "usual", + "pretentious", + "great_pret" + ] + } + }, + { + "name": "has_nurs", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 5, + "unique_ratio": 0.000482, + "example_values": [ + "very_crit", + "critical", + "improper", + "less_proper", + "proper" + ] + } + }, + { + "name": "form", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.000386, + "example_values": [ + "complete", + "completed", + "incomplete", + "foster" + ] + } + }, + { + "name": "children", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.000386, + "example_values": [ + "1", + "3", + "2", + "more" + ] + } + }, + { + "name": "housing", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "less_conv", + "convenient", + "critical" + ] + } + }, + { + "name": "finance", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2, + "unique_ratio": 0.000193, + "example_values": [ + "convenient", + "inconv" + ] + } + }, + { + "name": "social", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "slightly_prob", + "nonprob", + "problematic" + ] + } + }, + { + "name": "health", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "recommended", + "priority", + "not_recom" + ] + } + }, + { + "name": "class", + "role": "target", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 5, + "unique_ratio": 0.000482, + "example_values": [ + "priority", + "spec_prior", + "not_recom", + "very_recom", + "recommend" + ] + } + } + ], + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/tabsyn/tabsyn-c7-20260429_052312/public_gate/staged_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/tabsyn/tabsyn-c7-20260429_052312/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/tabsyn/tabsyn-c7-20260429_052312/public_gate/public_gate_report.json" +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/synthetic/tabsyn_c7/real.csv b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/synthetic/tabsyn_c7/real.csv new file mode 100644 index 0000000000000000000000000000000000000000..f626c9ced7fe6f41ec3af4e940622d41e2546f39 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/synthetic/tabsyn_c7/real.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66fea27ff1eb37a50e165cda89ed19e1b96f6a3f11cc541ffd1a427c3211f00a +size 186691 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/synthetic/tabsyn_c7/test.csv b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/synthetic/tabsyn_c7/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..f626c9ced7fe6f41ec3af4e940622d41e2546f39 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/synthetic/tabsyn_c7/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66fea27ff1eb37a50e165cda89ed19e1b96f6a3f11cc541ffd1a427c3211f00a +size 186691 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/tabsyn-c7-10368-20260429_061302.csv b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/tabsyn-c7-10368-20260429_061302.csv new file mode 100644 index 0000000000000000000000000000000000000000..5dc29429d735d31979b1d6d568b6d58567eabd42 --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/tabsyn-c7-10368-20260429_061302.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a10b06dc246c8e25614fecbe75e9f1503431cfecb2f846a391e43c737ae86fd +size 839833 diff --git a/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/train_20260429_052312.log b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/train_20260429_052312.log new file mode 100644 index 0000000000000000000000000000000000000000..401a57f7c0a1fea7d1a3d47f888c863ea754b11f --- /dev/null +++ b/SynthData0523/main/c7/tabsyn/tabsyn-c7-20260429_052312/train_20260429_052312.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68c2938cba689f704152160f6c88cb60bb429cdc47dea88b574d9ba45e91c756 +size 2890992 diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/_tvae_generate.py b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/_tvae_generate.py new file mode 100644 index 0000000000000000000000000000000000000000..5a6c3a341cdaebe212697824c3111e2938b6a147 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/_tvae_generate.py @@ -0,0 +1,5 @@ +from ctgan.synthesizers.tvae import TVAE +model = TVAE.load("/work/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/models_300epochs/tvae_300epochs.pt") +samples = model.sample(10368) +samples.to_csv("/work/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/tvae-c7-10368-20260330_065302.csv", index=False) +print(f"[TVAE] Generated 10368 rows -> /work/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/tvae-c7-10368-20260330_065302.csv") diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/_tvae_train.py b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/_tvae_train.py new file mode 100644 index 0000000000000000000000000000000000000000..dec654376d63bd8cec097231fd61edde67126929 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/_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/c7/tvae/tvae-c7-20260321_070722/staged/public/train.csv" +meta_path = "/work/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/tvae_metadata.json" +save_path = "/work/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/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/c7/tvae/tvae-c7-20260321_070722/gen_20260321_070932.log b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/gen_20260321_070932.log new file mode 100644 index 0000000000000000000000000000000000000000..6588c4a625d8be6b2461f5d3bb3d55fdccec0f53 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/gen_20260321_070932.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a4c62a09c7b61c41351777af1a5bd1e4efe9301e2a2a68cbbd1e807ec298246 +size 126 diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/gen_20260330_065302.log b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/gen_20260330_065302.log new file mode 100644 index 0000000000000000000000000000000000000000..e2cddc6bef6064fccc39c9aabb215bc09f17f9fe --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/gen_20260330_065302.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:175b1b68749c373f88efe97385d5f90bb16ab3cda3d22ab02ab44cd233008367 +size 128 diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/input_snapshot.json b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..efb8007253c004156220915598545e76948d4591 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/input_snapshot.json @@ -0,0 +1,36 @@ +{ + "dataset_id": "c7", + "model": "tvae", + "inputs": { + "train_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-train.csv", + "exists": true, + "size": 857718, + "sha256": "0ec97b49cecfd452f07551a63db7b812b5998a1e37101eae82255d00aa6a6243" + }, + "val_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-val.csv", + "exists": true, + "size": 107489, + "sha256": "4501bb2be19f7e13b7ff5e9dedd74e3dd42f2cafc8cefd5435bda61fc974a769" + }, + "test_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-test.csv", + "exists": true, + "size": 107327, + "sha256": "f9e808033a07feabb980addcf8c5f75111189ac2fb70993b8ad0f5ca3d5cfbae" + }, + "profile_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c7/c7-dataset_profile.json", + "exists": true, + "size": 4014, + "sha256": "60424c615b91a26cf02d9bc1d7f91caa0ceb95bab39eb7cff6f9edea3ca0600e" + }, + "contract_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c7/c7-dataset_contract_v1.json", + "exists": true, + "size": 4759, + "sha256": "79a434a1e2553b14b9f2e98c1adfc32a71aaa0d6cd49234f3f8a5603efca4ebd" + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/models_300epochs/train_20260321_070722.log b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/models_300epochs/train_20260321_070722.log new file mode 100644 index 0000000000000000000000000000000000000000..10593d8a63cd89ddba16ac1429bf0e7ec40f45b7 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/models_300epochs/train_20260321_070722.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5d763a6af4b2c1ea6494815f877c23f7f4a9e780ad1b14a1a9a2adeedb21675 +size 170 diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/models_300epochs/tvae_300epochs.pt b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/models_300epochs/tvae_300epochs.pt new file mode 100644 index 0000000000000000000000000000000000000000..c2430ac3faf721e0ae403f5cb5dd73510821badd --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/models_300epochs/tvae_300epochs.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a29346cadb27080b0c38b6d143e1eddf8a9008feeffd2a0780565ae7b224cea +size 536748 diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..3ea4859ec2aa245a19531b254f45d87237c23069 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,183 @@ +{ + "dataset_id": "c7", + "target_column": "class", + "task_type": "classification", + "columns": [ + { + "name": "parents", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "usual", + "pretentious", + "great_pret" + ] + } + }, + { + "name": "has_nurs", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 5, + "unique_ratio": 0.000482, + "example_values": [ + "very_crit", + "critical", + "improper", + "less_proper", + "proper" + ] + } + }, + { + "name": "form", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.000386, + "example_values": [ + "complete", + "completed", + "incomplete", + "foster" + ] + } + }, + { + "name": "children", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.000386, + "example_values": [ + "1", + "3", + "2", + "more" + ] + } + }, + { + "name": "housing", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "less_conv", + "convenient", + "critical" + ] + } + }, + { + "name": "finance", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2, + "unique_ratio": 0.000193, + "example_values": [ + "convenient", + "inconv" + ] + } + }, + { + "name": "social", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "slightly_prob", + "nonprob", + "problematic" + ] + } + }, + { + "name": "health", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "recommended", + "priority", + "not_recom" + ] + } + }, + { + "name": "class", + "role": "target", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 5, + "unique_ratio": 0.000482, + "example_values": [ + "priority", + "spec_prior", + "not_recom", + "very_recom", + "recommend" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/public_gate/public_gate_report.json b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..3328fe59cd490a424e50f931e9eedba9e81d1cec --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/public_gate/public_gate_report.json @@ -0,0 +1,37 @@ +{ + "dataset_id": "c7", + "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": "class", + "task_type": "classification", + "input_splits": { + "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-train.csv", + "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-val.csv", + "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-test.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/public_gate/staged_input_manifest.json b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..6c9798126860dbaf396a5ca064d11b27f80e8ec9 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/public_gate/staged_input_manifest.json @@ -0,0 +1,188 @@ +{ + "dataset_id": "c7", + "target_column": "class", + "task_type": "classification", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/public_gate/public_gate_report.json", + "column_schema": [ + { + "name": "parents", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "usual", + "pretentious", + "great_pret" + ] + } + }, + { + "name": "has_nurs", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 5, + "unique_ratio": 0.000482, + "example_values": [ + "very_crit", + "critical", + "improper", + "less_proper", + "proper" + ] + } + }, + { + "name": "form", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.000386, + "example_values": [ + "complete", + "completed", + "incomplete", + "foster" + ] + } + }, + { + "name": "children", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.000386, + "example_values": [ + "1", + "3", + "2", + "more" + ] + } + }, + { + "name": "housing", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "less_conv", + "convenient", + "critical" + ] + } + }, + { + "name": "finance", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2, + "unique_ratio": 0.000193, + "example_values": [ + "convenient", + "inconv" + ] + } + }, + { + "name": "social", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "slightly_prob", + "nonprob", + "problematic" + ] + } + }, + { + "name": "health", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "recommended", + "priority", + "not_recom" + ] + } + }, + { + "name": "class", + "role": "target", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 5, + "unique_ratio": 0.000482, + "example_values": [ + "priority", + "spec_prior", + "not_recom", + "very_recom", + "recommend" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/runtime_result.json b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..f7b7e333732442e2e6774c154b1b8d3992f020f8 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/runtime_result.json @@ -0,0 +1,14 @@ +{ + "dataset_id": "c7", + "model": "tvae", + "run_id": "tvae-c7-20260321_070722", + "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/c7/tvae/tvae-c7-20260321_070722/tvae-c7-10368-20260330_065302.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/staged_features.json b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..0e23df6bcfb7ecfd44dfefc3d0ca0bf6b6aebc60 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/staged_features.json @@ -0,0 +1,47 @@ +[ + { + "feature_name": "parents", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "has_nurs", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "form", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "children", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "housing", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "finance", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "social", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "health", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "class", + "data_type": "categorical", + "is_target": true + } +] \ No newline at end of file diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/test.csv b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..cb9d7081ca745e9eed28a35168872d450c4a2a44 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2042076337d5c37c6476e6bca2bd33cb5a171450c27894534ef50ac223256058 +size 106030 diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/train.csv b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..4c8e5e0c5031fc7e8e25213132c1231950ec29da --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b37f6b2ef5257f40bd826ac956749881f0f474362bdb56e8c5728ad629242e3a +size 847349 diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/val.csv b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..55792963756b1ae35b4d79dee11881372962b8d5 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/public/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eff6dec27c3740661a1ae84dea391d690dfb60342bfd5d7527b903fdd6009780 +size 106192 diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/tvae/adapter_report.json b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/tvae/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..d769b7923236e0b0284d9b1466e6efe1cb7a71f1 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/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/c7/tvae/tvae-c7-20260321_070722/staged/tvae/model_input_manifest.json" +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/tvae/adapter_transforms_applied.json b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/tvae/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/tvae/adapter_transforms_applied.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/tvae/model_input_manifest.json b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/tvae/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..64200b92801e97742e7fc5b678841efdb722101d --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/staged/tvae/model_input_manifest.json @@ -0,0 +1,190 @@ +{ + "dataset_id": "c7", + "model": "tvae", + "target_column": "class", + "task_type": "classification", + "column_schema": [ + { + "name": "parents", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "usual", + "pretentious", + "great_pret" + ] + } + }, + { + "name": "has_nurs", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 5, + "unique_ratio": 0.000482, + "example_values": [ + "very_crit", + "critical", + "improper", + "less_proper", + "proper" + ] + } + }, + { + "name": "form", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.000386, + "example_values": [ + "complete", + "completed", + "incomplete", + "foster" + ] + } + }, + { + "name": "children", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.000386, + "example_values": [ + "1", + "3", + "2", + "more" + ] + } + }, + { + "name": "housing", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "less_conv", + "convenient", + "critical" + ] + } + }, + { + "name": "finance", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2, + "unique_ratio": 0.000193, + "example_values": [ + "convenient", + "inconv" + ] + } + }, + { + "name": "social", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "slightly_prob", + "nonprob", + "problematic" + ] + } + }, + { + "name": "health", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.000289, + "example_values": [ + "recommended", + "priority", + "not_recom" + ] + } + }, + { + "name": "class", + "role": "target", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 5, + "unique_ratio": 0.000482, + "example_values": [ + "priority", + "spec_prior", + "not_recom", + "very_recom", + "recommend" + ] + } + } + ], + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/public_gate/staged_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/tvae/tvae-c7-20260321_070722/public_gate/public_gate_report.json" +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/tvae-c7-1000-20260321_070932.csv b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/tvae-c7-1000-20260321_070932.csv new file mode 100644 index 0000000000000000000000000000000000000000..5bef344e8187b086c3747a0b039f3841478f9544 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/tvae-c7-1000-20260321_070932.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d9efb5739b560819decece3bdf2cb5fc2493af67edea511f505ce5e933e9bde +size 80871 diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/tvae-c7-10368-20260330_065302.csv b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/tvae-c7-10368-20260330_065302.csv new file mode 100644 index 0000000000000000000000000000000000000000..ed15704de73b3b906207615bb96eade5f3dc5b2d --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/tvae-c7-10368-20260330_065302.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d2a011adc9777305c80d748baa944cec07b0c8098bf1bca32690ec6c0244424 +size 837902 diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/tvae_metadata.json b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/tvae_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..83f41ad233860beaed71ee8e4637e99ce522d64a --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260321_070722/tvae_metadata.json @@ -0,0 +1,40 @@ +{ + "columns": [ + { + "name": "parents", + "type": "categorical" + }, + { + "name": "has_nurs", + "type": "categorical" + }, + { + "name": "form", + "type": "categorical" + }, + { + "name": "children", + "type": "categorical" + }, + { + "name": "housing", + "type": "categorical" + }, + { + "name": "finance", + "type": "categorical" + }, + { + "name": "social", + "type": "categorical" + }, + { + "name": "health", + "type": "categorical" + }, + { + "name": "class", + "type": "categorical" + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260429_031938/_tvae_generate.py b/SynthData0523/main/c7/tvae/tvae-c7-20260429_031938/_tvae_generate.py new file mode 100644 index 0000000000000000000000000000000000000000..97b054d359c203f5bce5035c35154d549095b67b --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260429_031938/_tvae_generate.py @@ -0,0 +1,23 @@ +import os, sys +sys.path.insert(0, "/work") +from src.SpecificModels.ctgan_joblib_parallel_cap import apply_parallel_cap_from_env +apply_parallel_cap_from_env() +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-Benchmark-trainonly-v1/c7/tvae/tvae-c7-20260429_031938/models_300epochs/tvae_300epochs.pt") +total = 10368 +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-Benchmark-trainonly-v1/c7/tvae/tvae-c7-20260429_031938/tvae-c7-10368-20260429_032040.csv", index=False) +print(f"[TVAE] Generated {total} rows (chunks={len(parts)}) -> /work/output-Benchmark-trainonly-v1/c7/tvae/tvae-c7-20260429_031938/tvae-c7-10368-20260429_032040.csv") diff --git a/SynthData0523/main/c7/tvae/tvae-c7-20260429_031938/_tvae_train.py b/SynthData0523/main/c7/tvae/tvae-c7-20260429_031938/_tvae_train.py new file mode 100644 index 0000000000000000000000000000000000000000..dda2fe3921491373c214bd0c9bf435073726f059 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260429_031938/_tvae_train.py @@ -0,0 +1,30 @@ +import json, os, sys +sys.path.insert(0, "/work") +from src.SpecificModels.ctgan_joblib_parallel_cap import apply_parallel_cap_from_env +apply_parallel_cap_from_env() +import pandas as pd +from ctgan.data import read_csv +from ctgan.synthesizers.tvae import TVAE + +# Keep transform stage parallelism bounded for stability on shared host. +os.environ.setdefault("LOKY_MAX_CPU_COUNT", "8") +os.environ.setdefault("OPENBLAS_NUM_THREADS", "8") +os.environ.setdefault("MKL_NUM_THREADS", "8") +_nj = (os.environ.get("TVAE_CTGAN_JOBTRANS_N_JOBS") or "").strip() +if _nj: + print("[TVAE] joblib Parallel cap ON, TVAE_CTGAN_JOBTRANS_N_JOBS=" + _nj) +else: + print("[TVAE] joblib Parallel cap OFF (unset TVAE_CTGAN_JOBTRANS_N_JOBS)") +print("[TVAE] LOKY_MAX_CPU_COUNT=" + str(os.environ.get("LOKY_MAX_CPU_COUNT", ""))) + +csv_path = "/work/output-Benchmark-trainonly-v1/c7/tvae/tvae-c7-20260429_031938/staged/public/train.csv" +meta_path = "/work/output-Benchmark-trainonly-v1/c7/tvae/tvae-c7-20260429_031938/tvae_metadata.json" +save_path = "/work/output-Benchmark-trainonly-v1/c7/tvae/tvae-c7-20260429_031938/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/c7/tvae/tvae-c7-20260429_031938/gen_20260429_032040.log b/SynthData0523/main/c7/tvae/tvae-c7-20260429_031938/gen_20260429_032040.log new file mode 100644 index 0000000000000000000000000000000000000000..e277329c4693c928dc023bf08d72a6214a0ae213 --- /dev/null +++ b/SynthData0523/main/c7/tvae/tvae-c7-20260429_031938/gen_20260429_032040.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c45cf869318530600b5a089b84c6097d5e4d771329802a000b5d533b807c905 +size 406