jialinzhang commited on
Commit ·
6d2f0d6
1
Parent(s): 3fed1a8
Add syntheticSuccess m7
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/_arf_generate.pyAdded+23
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/_arf_train.pyAdded+37
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/arf-m7-4088-20260422_060013.csvAdded+3
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/arf_model.pklAdded+3
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/gen_20260422_060013.logAdded+3
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/input_snapshot.jsonAdded+36
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/public_gate/normalized_schema_snapshot.jsonAdded+242
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/public_gate/public_gate_report.jsonAdded+37
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/public_gate/staged_input_manifest.jsonAdded+247
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/runtime_result.jsonAdded+15
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/arf/adapter_report.jsonAdded+7
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/arf/adapter_transforms_applied.jsonAdded+1
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/arf/model_input_manifest.jsonAdded+249
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/staged_features.jsonAdded+62
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/test.csvAdded+3
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/train.csvAdded+3
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/val.csvAdded+3
- syntheticSuccess/m7/arf/arf-m7-20260422_055912/train_20260422_055912.logAdded+3
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/_bayesnet_generate.pyAdded+75
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/_bayesnet_train.pyAdded+93
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet-m7-4088-20260420_035257.csvAdded+3
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_coltypes.jsonAdded+53
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_model.pklAdded+3
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/const_cols.jsonAdded+1
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/gen_20260420_035257.logAdded+3
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/input_snapshot.jsonAdded+36
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/normalized_schema_snapshot.jsonAdded+242
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/public_gate_report.jsonAdded+37
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/staged_input_manifest.jsonAdded+247
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/runtime_result.jsonAdded+15
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/bayesnet/adapter_report.jsonAdded+7
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/bayesnet/adapter_transforms_applied.jsonAdded+1
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/bayesnet/model_input_manifest.jsonAdded+249
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/staged_features.jsonAdded+62
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/test.csvAdded+3
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/train.csvAdded+3
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/val.csvAdded+3
- syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/train_20260420_035053.logAdded+3
- syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/_ctgan_generate.pyAdded+18
- syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/ctgan-m7-4088-20260422_031701.csvAdded+3
- syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/ctgan_metadata.jsonAdded+52
- syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/ctgan_train_continuous_imputed.csvAdded+3
- syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/gen_20260422_031701.logAdded+3
- syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/input_snapshot.jsonAdded+36
- syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/models_300epochs/ctgan_300epochs.ptAdded+3
- syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/models_300epochs/train_20260422_031300.logAdded+3
- syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/public_gate/normalized_schema_snapshot.jsonAdded+242
- syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/public_gate/public_gate_report.jsonAdded+37
- syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/public_gate/staged_input_manifest.jsonAdded+247
- syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/runtime_result.jsonAdded+15
1234567891011121314151617181920212223import pickleimport pandas as pd
n_target = int(4088)with open("/work/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/arf_model.pkl", "rb") as f: model = pickle.load(f)syn = model.forge(n=n_target)syn = syn.reset_index(drop=True)if len(syn) > n_target: syn = syn.iloc[:n_target]elif len(syn) < n_target: parts = [syn] tries = 0 while sum(len(p) for p in parts) < n_target and tries < 64: tries += 1 need = n_target - sum(len(p) for p in parts) chunk = model.forge(n=max(need, 1)).reset_index(drop=True) if len(chunk) == 0: break parts.append(chunk) syn = pd.concat(parts, ignore_index=True).iloc[:n_target]syn.to_csv("/work/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/arf-m7-4088-20260422_060013.csv", index=False)print(f"[ARF] Generated {len(syn)} rows (requested {n_target}) -> /work/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/arf-m7-4088-20260422_060013.csv")12345678910111213141516171819202122232425262728293031323334353637import pickleimport numpy as npimport pandas as pdfrom arfpy import arf
def _sanitize_for_arf(df: pd.DataFrame) -> pd.DataFrame: """缓解 forge 阶段 scipy.stats.truncnorm / 除零:处理 inf、NaN 与极端尾部。""" df = df.replace([np.inf, -np.inf], np.nan) df = df.dropna(axis=1, how="all") for col in df.select_dtypes(include=[np.number]).columns: med = df[col].median() if pd.isna(med): med = 0.0 df[col] = df[col].fillna(med) nu = int(df[col].nunique(dropna=True)) if nu <= 1: continue lo, hi = df[col].quantile(0.001), df[col].quantile(0.999) if pd.notna(lo) and pd.notna(hi) and lo < hi: df[col] = df[col].clip(lo, hi) return df
df = pd.read_csv("/work/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/train.csv")df = _sanitize_for_arf(df)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/m7/arf/arf-m7-20260422_055912/arf_model.pkl", "wb") as f: pickle.dump(model, f)print(f"[ARF] Model saved -> /work/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/arf_model.pkl")123version https://git-lfs.github.com/spec/v1oid sha256:5bef5cb3ca3d1d6f827e38f841a31518bd6c09c5318d903c10a6861e9fa08a61size 546352123version https://git-lfs.github.com/spec/v1oid sha256:ead2f35ac0c73d397295a8a4a7080b4a4ebf9a4b58fe5b777d13930a91c4dd9asize 18331589123version https://git-lfs.github.com/spec/v1oid sha256:fbfbdef036085ce71ada368ffab278301c6d149a4f14a6ae26bc81f51e782c6asize 2035123456789101112131415161718192021222324252627282930313233343536{ "dataset_id": "m7", "model": "arf", "inputs": { "train_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-train.csv", "exists": true, "size": 257258, "sha256": "6458faf5495150c1433a95be37eb8d9605954f8474a3d40d9ab9d10adc4cf71e" }, "val_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-val.csv", "exists": true, "size": 32142, "sha256": "bb8674674733508f2c6940b78c07c601654827604862334f9b267e50a83ed9f7" }, "test_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-test.csv", "exists": true, "size": 32328, "sha256": "8b32eb82bd281650cd9f236ef26ec9cd6f02dbaba740770f0e3c4b94a189f3e7" }, "profile_json": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/m7/m7-dataset_profile.json", "exists": true, "size": 5020, "sha256": "ab77a37aa06b0bb854623b7f0caab0c4d4ed05cfce61d9aaf0320c279b20fae5" }, "contract_json": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/m7/m7-dataset_contract_v1.json", "exists": true, "size": 5995, "sha256": "aa9654fbc1dc4029d109adf4117767c5a5c8e90b53bd3f9c698d7b71345cf5b3" } }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242{ "dataset_id": "m7", "target_column": "Residence_type", "task_type": "classification", "columns": [ { "name": "id", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 4088, "unique_ratio": 1.0, "example_values": [ "35296", "36710", "32733", "1077", "13223" ] } }, { "name": "gender", "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.000489, "example_values": [ "Female", "Male" ] } }, { "name": "age", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 104, "unique_ratio": 0.02544, "example_values": [ "58", "64", "28", "77", "53" ] } }, { "name": "hypertension", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "heart_disease", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "ever_married", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "Yes", "No" ] } }, { "name": "work_type", "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.001223, "example_values": [ "Private", "Govt_job", "Self-employed", "children", "Never_worked" ] } }, { "name": "Residence_type", "role": "target", "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.000489, "example_values": [ "Rural", "Urban" ] } }, { "name": "avg_glucose_level", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 3337, "unique_ratio": 0.816292, "example_values": [ "100.42", "62.21", "106.68", "106.03", "86.39" ] } }, { "name": "bmi", "role": "feature", "semantic_type": "numeric", "nullable": true, "missing_tokens": [ "N/A" ], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.039873, "unique_count": 396, "unique_ratio": 0.100892, "example_values": [ "39.5", "28.3", "29.3", "30.2", "48.9" ] } }, { "name": "smoking_status", "role": "feature", "semantic_type": "text", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "keep_raw", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.000978, "example_values": [ "smokes", "Unknown", "never smoked", "formerly smoked" ] } }, { "name": "stroke", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } } ]}12345678910111213141516171819202122232425262728293031323334353637{ "dataset_id": "m7", "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": "Residence_type", "task_type": "classification", "input_splits": { "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-train.csv", "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-val.csv", "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-test.csv" }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247{ "dataset_id": "m7", "target_column": "Residence_type", "task_type": "classification", "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/train.csv", "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/val.csv", "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/test.csv", "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/staged_features.json", "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/public_gate/public_gate_report.json", "column_schema": [ { "name": "id", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 4088, "unique_ratio": 1.0, "example_values": [ "35296", "36710", "32733", "1077", "13223" ] } }, { "name": "gender", "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.000489, "example_values": [ "Female", "Male" ] } }, { "name": "age", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 104, "unique_ratio": 0.02544, "example_values": [ "58", "64", "28", "77", "53" ] } }, { "name": "hypertension", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "heart_disease", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "ever_married", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "Yes", "No" ] } }, { "name": "work_type", "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.001223, "example_values": [ "Private", "Govt_job", "Self-employed", "children", "Never_worked" ] } }, { "name": "Residence_type", "role": "target", "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.000489, "example_values": [ "Rural", "Urban" ] } }, { "name": "avg_glucose_level", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 3337, "unique_ratio": 0.816292, "example_values": [ "100.42", "62.21", "106.68", "106.03", "86.39" ] } }, { "name": "bmi", "role": "feature", "semantic_type": "numeric", "nullable": true, "missing_tokens": [ "N/A" ], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.039873, "unique_count": 396, "unique_ratio": 0.100892, "example_values": [ "39.5", "28.3", "29.3", "30.2", "48.9" ] } }, { "name": "smoking_status", "role": "feature", "semantic_type": "text", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "keep_raw", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.000978, "example_values": [ "smokes", "Unknown", "never smoked", "formerly smoked" ] } }, { "name": "stroke", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } } ]}123456789101112131415{ "dataset_id": "m7", "model": "arf", "run_id": "arf-m7-20260422_055912", "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/m7/arf/arf-m7-20260422_055912/arf-m7-4088-20260422_060013.csv", "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/arf_model.pkl" }}1234567{ "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/m7/arf/arf-m7-20260422_055912/staged/arf/model_input_manifest.json"}1[]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249{ "dataset_id": "m7", "model": "arf", "target_column": "Residence_type", "task_type": "classification", "column_schema": [ { "name": "id", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 4088, "unique_ratio": 1.0, "example_values": [ "35296", "36710", "32733", "1077", "13223" ] } }, { "name": "gender", "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.000489, "example_values": [ "Female", "Male" ] } }, { "name": "age", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 104, "unique_ratio": 0.02544, "example_values": [ "58", "64", "28", "77", "53" ] } }, { "name": "hypertension", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "heart_disease", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "ever_married", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "Yes", "No" ] } }, { "name": "work_type", "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.001223, "example_values": [ "Private", "Govt_job", "Self-employed", "children", "Never_worked" ] } }, { "name": "Residence_type", "role": "target", "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.000489, "example_values": [ "Rural", "Urban" ] } }, { "name": "avg_glucose_level", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 3337, "unique_ratio": 0.816292, "example_values": [ "100.42", "62.21", "106.68", "106.03", "86.39" ] } }, { "name": "bmi", "role": "feature", "semantic_type": "numeric", "nullable": true, "missing_tokens": [ "N/A" ], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.039873, "unique_count": 396, "unique_ratio": 0.100892, "example_values": [ "39.5", "28.3", "29.3", "30.2", "48.9" ] } }, { "name": "smoking_status", "role": "feature", "semantic_type": "text", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "keep_raw", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.000978, "example_values": [ "smokes", "Unknown", "never smoked", "formerly smoked" ] } }, { "name": "stroke", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } } ], "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/public_gate/staged_input_manifest.json", "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/train.csv", "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/val.csv", "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/test.csv", "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/staged_features.json", "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/public_gate/public_gate_report.json"}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162[ { "feature_name": "id", "data_type": "continuous", "is_target": false }, { "feature_name": "gender", "data_type": "categorical", "is_target": false }, { "feature_name": "age", "data_type": "continuous", "is_target": false }, { "feature_name": "hypertension", "data_type": "binary", "is_target": false }, { "feature_name": "heart_disease", "data_type": "binary", "is_target": false }, { "feature_name": "ever_married", "data_type": "binary", "is_target": false }, { "feature_name": "work_type", "data_type": "categorical", "is_target": false }, { "feature_name": "Residence_type", "data_type": "categorical", "is_target": true }, { "feature_name": "avg_glucose_level", "data_type": "continuous", "is_target": false }, { "feature_name": "bmi", "data_type": "continuous", "is_target": false }, { "feature_name": "smoking_status", "data_type": "categorical", "is_target": false }, { "feature_name": "stroke", "data_type": "binary", "is_target": false }]123version https://git-lfs.github.com/spec/v1oid sha256:ed44e06410b9395c5c85e238168df0c6952d61bdfe49424863c651ef2b1f4bd8size 32934123version https://git-lfs.github.com/spec/v1oid sha256:f842ac0ec4c47a15867ef35ae0ceede4ef955e556ad5220f982151d22894e25dsize 262059123version https://git-lfs.github.com/spec/v1oid sha256:ca541bece6380791dc2c9f7012ec8acbde8a8d270578cc5e031b739f7a761bf8size 32704123version https://git-lfs.github.com/spec/v1oid sha256:c58f16eae31122e7db4279d26f5b157b90d1a49b549771e03e8c87e549521b22size 232123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
import pickleimport warnings
import numpy as npimport pandas as pdfrom pgmpy.sampling import BayesianModelSampling
warnings.filterwarnings("ignore", category=FutureWarning)
with open("/work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_model.pkl", "rb") as f: bundle = pickle.load(f)
network = bundle["network"]inverse = bundle["inverse"]cols = bundle["column_order"]integer_columns = set(bundle.get("integer_columns") or [])full_order = bundle.get("full_column_order") or colsconst_cols = bundle.get("const_cols") or {}
sampler = BayesianModelSampling(network)raw = sampler.forward_sample(size=4088, show_progress=False)
out = pd.DataFrame(index=raw.index)rng = np.random.default_rng()
for c in cols: if c in inverse["categorical"]: levels = inverse["categorical"][c] idx = raw[c].astype(int).to_numpy() idx = np.clip(idx, 0, max(0, len(levels) - 1)) out[c] = [levels[i] for i in idx] else: edges = np.asarray(inverse["continuous"][c], dtype=float) if edges.size < 2: out[c] = 0.0 else: nbin = edges.size - 1 res = [] for k in raw[c].astype(int).to_numpy(): k = int(k) if k < 0: k = 0 if k >= nbin: k = nbin - 1 lo, hi = float(edges[k]), float(edges[k + 1]) if hi < lo: lo, hi = hi, lo v = rng.uniform(lo, hi) if c in integer_columns: v = int(round(v)) res.append(v) out[c] = res
final = pd.DataFrame(index=out.index)for c in full_order: if c in const_cols: final[c] = const_cols[c] elif c in out.columns: final[c] = out[c]
dtypes = bundle.get("original_dtypes") or {}for c, dts in dtypes.items(): if c not in final.columns: continue try: if "int" in dts: final[c] = pd.to_numeric(final[c], errors="coerce").astype("Int64") elif "float" in dts: final[c] = pd.to_numeric(final[c], errors="coerce") except Exception: pass
final.to_csv("/work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet-m7-4088-20260420_035257.csv", index=False)print(f"[BayesNet] Generated 4088 rows -> /work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet-m7-4088-20260420_035257.csv")123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
import jsonimport pickleimport warnings
import numpy as npimport pandas as pdfrom pgmpy.estimators import TreeSearchfrom pgmpy.models import DiscreteBayesianNetworkwarnings.filterwarnings("ignore", category=FutureWarning)
with open("/work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_coltypes.json", "r", encoding="utf-8") as _f: colmeta = json.load(_f)integer_columns = set(colmeta.get("integer_columns") or [])
df = pd.read_csv("/work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/train.csv")df = df.dropna(axis=1, how="all")full_column_order = list(df.columns)
const_cols = {}for col in list(df.columns): if df[col].nunique(dropna=True) <= 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}'")
const_path = "/work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_model.pkl".replace("bayesnet_model.pkl", "const_cols.json")with open(const_path, "w", encoding="utf-8") as _f: json.dump({k: str(v) for k, v in const_cols.items()}, _f)
inverse = {"categorical": {}, "continuous": {}}enc = pd.DataFrame(index=df.index)max_bins = 10
for entry in colmeta["columns"]: name = entry["name"] if name not in df.columns: continue kind = entry["type"] s = df[name] if kind == "categorical": uniques = sorted(s.dropna().unique(), key=lambda x: str(x)) mapping = {str(v): i for i, v in enumerate(uniques)} inverse["categorical"][name] = [uniques[i] for i in range(len(uniques))] enc[name] = s.map(lambda x, m=mapping: m.get(str(x), 0)).astype(int) else: s_num = pd.to_numeric(s, errors="coerce") nu = int(s_num.nunique(dropna=True)) q = min(max_bins, max(2, nu)) if nu < 2: enc[name] = np.zeros(len(s_num), dtype=int) lo, hi = float(s_num.min()), float(s_num.max()) inverse["continuous"][name] = [lo, hi] else: try: _, bins = pd.qcut( s_num, q=q, retbins=True, duplicates="drop" ) except Exception: med = float(s_num.median()) s2 = s_num.fillna(med) _, bins = pd.qcut( s2, q=min(q, 3), retbins=True, duplicates="drop" ) bins = np.asarray(bins, dtype=float) lab = pd.cut( s_num, bins=bins, labels=False, include_lowest=True ) enc[name] = lab.fillna(0).astype(int) inverse["continuous"][name] = bins.tolist()
print(f"[BayesNet] Training on {len(enc)} rows, {len(enc.columns)} cols (encoded)")
dag = TreeSearch(enc).estimate(show_progress=False)for col in enc.columns: if col not in dag.nodes(): dag.add_node(col) print(f"[BayesNet] Added isolated node to DAG: {col}")network = DiscreteBayesianNetwork(dag)network.fit(enc)
bundle = { "network": network, "inverse": inverse, "column_order": list(enc.columns), "full_column_order": full_column_order, "integer_columns": list(integer_columns), "original_dtypes": {c: str(df[c].dtype) for c in enc.columns}, "const_cols": const_cols,}with open("/work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_model.pkl", "wb") as _f: pickle.dump(bundle, _f)print(f"[BayesNet] Model saved -> /work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_model.pkl")123version https://git-lfs.github.com/spec/v1oid sha256:c2e5c21f598d833656dad80ad005d7886a7d0535cf6a176db88712036d65114fsize 4712421234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ "columns": [ { "name": "id", "type": "continuous" }, { "name": "gender", "type": "categorical" }, { "name": "age", "type": "continuous" }, { "name": "hypertension", "type": "categorical" }, { "name": "heart_disease", "type": "categorical" }, { "name": "ever_married", "type": "categorical" }, { "name": "work_type", "type": "categorical" }, { "name": "Residence_type", "type": "categorical" }, { "name": "avg_glucose_level", "type": "continuous" }, { "name": "bmi", "type": "continuous" }, { "name": "smoking_status", "type": "categorical" }, { "name": "stroke", "type": "categorical" } ], "integer_columns": []}123version https://git-lfs.github.com/spec/v1oid sha256:b0bdcb832b623c4da609bdd6797732e4cc4fe3f72c6f0381b10e975e5d251c0asize 115191{}123version https://git-lfs.github.com/spec/v1oid sha256:c0899e478ccf5e9c9b1dc6f8963f6a62360aab8b45b5b4cdd51ab0b7737b4bd8size 1134123456789101112131415161718192021222324252627282930313233343536{ "dataset_id": "m7", "model": "bayesnet", "inputs": { "train_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-train.csv", "exists": true, "size": 257258, "sha256": "6458faf5495150c1433a95be37eb8d9605954f8474a3d40d9ab9d10adc4cf71e" }, "val_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-val.csv", "exists": true, "size": 32142, "sha256": "bb8674674733508f2c6940b78c07c601654827604862334f9b267e50a83ed9f7" }, "test_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-test.csv", "exists": true, "size": 32328, "sha256": "8b32eb82bd281650cd9f236ef26ec9cd6f02dbaba740770f0e3c4b94a189f3e7" }, "profile_json": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/m7/m7-dataset_profile.json", "exists": true, "size": 5020, "sha256": "ab77a37aa06b0bb854623b7f0caab0c4d4ed05cfce61d9aaf0320c279b20fae5" }, "contract_json": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/m7/m7-dataset_contract_v1.json", "exists": true, "size": 5995, "sha256": "aa9654fbc1dc4029d109adf4117767c5a5c8e90b53bd3f9c698d7b71345cf5b3" } }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242{ "dataset_id": "m7", "target_column": "Residence_type", "task_type": "classification", "columns": [ { "name": "id", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 4088, "unique_ratio": 1.0, "example_values": [ "35296", "36710", "32733", "1077", "13223" ] } }, { "name": "gender", "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.000489, "example_values": [ "Female", "Male" ] } }, { "name": "age", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 104, "unique_ratio": 0.02544, "example_values": [ "58", "64", "28", "77", "53" ] } }, { "name": "hypertension", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "heart_disease", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "ever_married", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "Yes", "No" ] } }, { "name": "work_type", "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.001223, "example_values": [ "Private", "Govt_job", "Self-employed", "children", "Never_worked" ] } }, { "name": "Residence_type", "role": "target", "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.000489, "example_values": [ "Rural", "Urban" ] } }, { "name": "avg_glucose_level", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 3337, "unique_ratio": 0.816292, "example_values": [ "100.42", "62.21", "106.68", "106.03", "86.39" ] } }, { "name": "bmi", "role": "feature", "semantic_type": "numeric", "nullable": true, "missing_tokens": [ "N/A" ], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.039873, "unique_count": 396, "unique_ratio": 0.100892, "example_values": [ "39.5", "28.3", "29.3", "30.2", "48.9" ] } }, { "name": "smoking_status", "role": "feature", "semantic_type": "text", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "keep_raw", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.000978, "example_values": [ "smokes", "Unknown", "never smoked", "formerly smoked" ] } }, { "name": "stroke", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } } ]}12345678910111213141516171819202122232425262728293031323334353637{ "dataset_id": "m7", "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": "Residence_type", "task_type": "classification", "input_splits": { "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-train.csv", "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-val.csv", "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-test.csv" }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247{ "dataset_id": "m7", "target_column": "Residence_type", "task_type": "classification", "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/train.csv", "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/val.csv", "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/test.csv", "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/staged_features.json", "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/public_gate_report.json", "column_schema": [ { "name": "id", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 4088, "unique_ratio": 1.0, "example_values": [ "35296", "36710", "32733", "1077", "13223" ] } }, { "name": "gender", "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.000489, "example_values": [ "Female", "Male" ] } }, { "name": "age", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 104, "unique_ratio": 0.02544, "example_values": [ "58", "64", "28", "77", "53" ] } }, { "name": "hypertension", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "heart_disease", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "ever_married", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "Yes", "No" ] } }, { "name": "work_type", "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.001223, "example_values": [ "Private", "Govt_job", "Self-employed", "children", "Never_worked" ] } }, { "name": "Residence_type", "role": "target", "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.000489, "example_values": [ "Rural", "Urban" ] } }, { "name": "avg_glucose_level", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 3337, "unique_ratio": 0.816292, "example_values": [ "100.42", "62.21", "106.68", "106.03", "86.39" ] } }, { "name": "bmi", "role": "feature", "semantic_type": "numeric", "nullable": true, "missing_tokens": [ "N/A" ], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.039873, "unique_count": 396, "unique_ratio": 0.100892, "example_values": [ "39.5", "28.3", "29.3", "30.2", "48.9" ] } }, { "name": "smoking_status", "role": "feature", "semantic_type": "text", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "keep_raw", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.000978, "example_values": [ "smokes", "Unknown", "never smoked", "formerly smoked" ] } }, { "name": "stroke", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } } ]}123456789101112131415{ "dataset_id": "m7", "model": "bayesnet", "run_id": "bayesnet-m7-20260420_035052", "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/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet-m7-4088-20260420_035257.csv", "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_model.pkl" }}1234567{ "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/m7/bayesnet/bayesnet-m7-20260420_035052/staged/bayesnet/model_input_manifest.json"}1[]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249{ "dataset_id": "m7", "model": "bayesnet", "target_column": "Residence_type", "task_type": "classification", "column_schema": [ { "name": "id", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 4088, "unique_ratio": 1.0, "example_values": [ "35296", "36710", "32733", "1077", "13223" ] } }, { "name": "gender", "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.000489, "example_values": [ "Female", "Male" ] } }, { "name": "age", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 104, "unique_ratio": 0.02544, "example_values": [ "58", "64", "28", "77", "53" ] } }, { "name": "hypertension", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "heart_disease", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "ever_married", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "Yes", "No" ] } }, { "name": "work_type", "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.001223, "example_values": [ "Private", "Govt_job", "Self-employed", "children", "Never_worked" ] } }, { "name": "Residence_type", "role": "target", "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.000489, "example_values": [ "Rural", "Urban" ] } }, { "name": "avg_glucose_level", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 3337, "unique_ratio": 0.816292, "example_values": [ "100.42", "62.21", "106.68", "106.03", "86.39" ] } }, { "name": "bmi", "role": "feature", "semantic_type": "numeric", "nullable": true, "missing_tokens": [ "N/A" ], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.039873, "unique_count": 396, "unique_ratio": 0.100892, "example_values": [ "39.5", "28.3", "29.3", "30.2", "48.9" ] } }, { "name": "smoking_status", "role": "feature", "semantic_type": "text", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "keep_raw", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.000978, "example_values": [ "smokes", "Unknown", "never smoked", "formerly smoked" ] } }, { "name": "stroke", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } } ], "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/staged_input_manifest.json", "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/train.csv", "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/val.csv", "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/test.csv", "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/staged_features.json", "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/public_gate_report.json"}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162[ { "feature_name": "id", "data_type": "continuous", "is_target": false }, { "feature_name": "gender", "data_type": "categorical", "is_target": false }, { "feature_name": "age", "data_type": "continuous", "is_target": false }, { "feature_name": "hypertension", "data_type": "binary", "is_target": false }, { "feature_name": "heart_disease", "data_type": "binary", "is_target": false }, { "feature_name": "ever_married", "data_type": "binary", "is_target": false }, { "feature_name": "work_type", "data_type": "categorical", "is_target": false }, { "feature_name": "Residence_type", "data_type": "categorical", "is_target": true }, { "feature_name": "avg_glucose_level", "data_type": "continuous", "is_target": false }, { "feature_name": "bmi", "data_type": "continuous", "is_target": false }, { "feature_name": "smoking_status", "data_type": "categorical", "is_target": false }, { "feature_name": "stroke", "data_type": "binary", "is_target": false }]123version https://git-lfs.github.com/spec/v1oid sha256:ed44e06410b9395c5c85e238168df0c6952d61bdfe49424863c651ef2b1f4bd8size 32934123version https://git-lfs.github.com/spec/v1oid sha256:f842ac0ec4c47a15867ef35ae0ceede4ef955e556ad5220f982151d22894e25dsize 262059123version https://git-lfs.github.com/spec/v1oid sha256:ca541bece6380791dc2c9f7012ec8acbde8a8d270578cc5e031b739f7a761bf8size 32704123version https://git-lfs.github.com/spec/v1oid sha256:6ded2907debedaf80869e394afc9cdbdf5d0f959d8cb6aa37b67fe8d901338fbsize 1160123456789101112131415161718import syssys.path.insert(0, "/work")from src.SpecificModels.ctgan_rdt_inverse_fix import apply_ctgan_inverse_fixapply_ctgan_inverse_fix()import pandas as pdfrom ctgan.synthesizers.ctgan import CTGANmodel = CTGAN.load("/work/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/models_300epochs/ctgan_300epochs.pt")total = 4088chunk = min(50000, total) if total > 50000 else totalparts = []left = totalwhile left > 0: take = min(chunk, left) parts.append(model.sample(take)) left -= takesampled = pd.concat(parts, ignore_index=True) if len(parts) > 1 else parts[0]sampled.to_csv("/work/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/ctgan-m7-4088-20260422_031701.csv", index=False)print("[CTGAN] Generated", total, "rows in", len(parts), "chunks ->", "/work/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/ctgan-m7-4088-20260422_031701.csv")123version https://git-lfs.github.com/spec/v1oid sha256:1a571fd61abd1274a28afa0afcb2ee0fb10939f6b880b59ea9de73ac8d6c501esize 42732812345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ "columns": [ { "name": "id", "type": "continuous" }, { "name": "gender", "type": "categorical" }, { "name": "age", "type": "continuous" }, { "name": "hypertension", "type": "categorical" }, { "name": "heart_disease", "type": "categorical" }, { "name": "ever_married", "type": "categorical" }, { "name": "work_type", "type": "categorical" }, { "name": "Residence_type", "type": "categorical" }, { "name": "avg_glucose_level", "type": "continuous" }, { "name": "bmi", "type": "continuous" }, { "name": "smoking_status", "type": "categorical" }, { "name": "stroke", "type": "categorical" } ]}123version https://git-lfs.github.com/spec/v1oid sha256:7f09f8ffa01150b36a5bb4cbd5592da505fc71b4316387a80989867a26e73579size 262711123version https://git-lfs.github.com/spec/v1oid sha256:737ffb173c2ad801f41a143503ab9c02a0daa3798cc536585def16ff92a50b75size 292123456789101112131415161718192021222324252627282930313233343536{ "dataset_id": "m7", "model": "ctgan", "inputs": { "train_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-train.csv", "exists": true, "size": 257258, "sha256": "6458faf5495150c1433a95be37eb8d9605954f8474a3d40d9ab9d10adc4cf71e" }, "val_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-val.csv", "exists": true, "size": 32142, "sha256": "bb8674674733508f2c6940b78c07c601654827604862334f9b267e50a83ed9f7" }, "test_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-test.csv", "exists": true, "size": 32328, "sha256": "8b32eb82bd281650cd9f236ef26ec9cd6f02dbaba740770f0e3c4b94a189f3e7" }, "profile_json": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/m7/m7-dataset_profile.json", "exists": true, "size": 5020, "sha256": "ab77a37aa06b0bb854623b7f0caab0c4d4ed05cfce61d9aaf0320c279b20fae5" }, "contract_json": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/m7/m7-dataset_contract_v1.json", "exists": true, "size": 5995, "sha256": "aa9654fbc1dc4029d109adf4117767c5a5c8e90b53bd3f9c698d7b71345cf5b3" } }}123version https://git-lfs.github.com/spec/v1oid sha256:17bb37f34d315c89708cce912563a5feb49eac543f37dc30b3cddc9cb87aa113size 1365155123version https://git-lfs.github.com/spec/v1oid sha256:4cef0e2a964c2e13e32fdee30bc71a5e7afb4945f6ff5bdb8ff062a87139aa6asize 2322123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242{ "dataset_id": "m7", "target_column": "Residence_type", "task_type": "classification", "columns": [ { "name": "id", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 4088, "unique_ratio": 1.0, "example_values": [ "35296", "36710", "32733", "1077", "13223" ] } }, { "name": "gender", "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.000489, "example_values": [ "Female", "Male" ] } }, { "name": "age", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 104, "unique_ratio": 0.02544, "example_values": [ "58", "64", "28", "77", "53" ] } }, { "name": "hypertension", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "heart_disease", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "ever_married", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "Yes", "No" ] } }, { "name": "work_type", "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.001223, "example_values": [ "Private", "Govt_job", "Self-employed", "children", "Never_worked" ] } }, { "name": "Residence_type", "role": "target", "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.000489, "example_values": [ "Rural", "Urban" ] } }, { "name": "avg_glucose_level", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 3337, "unique_ratio": 0.816292, "example_values": [ "100.42", "62.21", "106.68", "106.03", "86.39" ] } }, { "name": "bmi", "role": "feature", "semantic_type": "numeric", "nullable": true, "missing_tokens": [ "N/A" ], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.039873, "unique_count": 396, "unique_ratio": 0.100892, "example_values": [ "39.5", "28.3", "29.3", "30.2", "48.9" ] } }, { "name": "smoking_status", "role": "feature", "semantic_type": "text", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "keep_raw", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.000978, "example_values": [ "smokes", "Unknown", "never smoked", "formerly smoked" ] } }, { "name": "stroke", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } } ]}12345678910111213141516171819202122232425262728293031323334353637{ "dataset_id": "m7", "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": "Residence_type", "task_type": "classification", "input_splits": { "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-train.csv", "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-val.csv", "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-test.csv" }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247{ "dataset_id": "m7", "target_column": "Residence_type", "task_type": "classification", "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/staged/public/train.csv", "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/staged/public/val.csv", "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/staged/public/test.csv", "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/staged/public/staged_features.json", "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/public_gate/public_gate_report.json", "column_schema": [ { "name": "id", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 4088, "unique_ratio": 1.0, "example_values": [ "35296", "36710", "32733", "1077", "13223" ] } }, { "name": "gender", "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.000489, "example_values": [ "Female", "Male" ] } }, { "name": "age", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 104, "unique_ratio": 0.02544, "example_values": [ "58", "64", "28", "77", "53" ] } }, { "name": "hypertension", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "heart_disease", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } }, { "name": "ever_married", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "Yes", "No" ] } }, { "name": "work_type", "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.001223, "example_values": [ "Private", "Govt_job", "Self-employed", "children", "Never_worked" ] } }, { "name": "Residence_type", "role": "target", "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.000489, "example_values": [ "Rural", "Urban" ] } }, { "name": "avg_glucose_level", "role": "feature", "semantic_type": "numeric", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.0, "unique_count": 3337, "unique_ratio": 0.816292, "example_values": [ "100.42", "62.21", "106.68", "106.03", "86.39" ] } }, { "name": "bmi", "role": "feature", "semantic_type": "numeric", "nullable": true, "missing_tokens": [ "N/A" ], "parse_format": null, "impute_strategy": "median", "profile_stats": { "missing_rate": 0.039873, "unique_count": 396, "unique_ratio": 0.100892, "example_values": [ "39.5", "28.3", "29.3", "30.2", "48.9" ] } }, { "name": "smoking_status", "role": "feature", "semantic_type": "text", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "keep_raw", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.000978, "example_values": [ "smokes", "Unknown", "never smoked", "formerly smoked" ] } }, { "name": "stroke", "role": "feature", "semantic_type": "boolean", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 2, "unique_ratio": 0.000489, "example_values": [ "0", "1" ] } } ]}123456789101112131415{ "dataset_id": "m7", "model": "ctgan", "run_id": "ctgan-m7-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/m7/ctgan/ctgan-m7-20260422_031259/ctgan-m7-4088-20260422_031701.csv", "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/models_300epochs/ctgan_300epochs.pt" }}syntheticSuccess/m7/arf/arf-m7-20260422_055912/_arf_generate.pyAdded+23
syntheticSuccess/m7/arf/arf-m7-20260422_055912/_arf_train.pyAdded+37
syntheticSuccess/m7/arf/arf-m7-20260422_055912/arf-m7-4088-20260422_060013.csvAdded+3
syntheticSuccess/m7/arf/arf-m7-20260422_055912/arf_model.pklAdded+3
syntheticSuccess/m7/arf/arf-m7-20260422_055912/gen_20260422_060013.logAdded+3
syntheticSuccess/m7/arf/arf-m7-20260422_055912/input_snapshot.jsonAdded+36
syntheticSuccess/m7/arf/arf-m7-20260422_055912/public_gate/normalized_schema_snapshot.jsonAdded+242
syntheticSuccess/m7/arf/arf-m7-20260422_055912/public_gate/public_gate_report.jsonAdded+37
syntheticSuccess/m7/arf/arf-m7-20260422_055912/public_gate/staged_input_manifest.jsonAdded+247
syntheticSuccess/m7/arf/arf-m7-20260422_055912/runtime_result.jsonAdded+15
syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/arf/adapter_report.jsonAdded+7
syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/arf/adapter_transforms_applied.jsonAdded+1
syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/arf/model_input_manifest.jsonAdded+249
syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/staged_features.jsonAdded+62
syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/test.csvAdded+3
syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/train.csvAdded+3
syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/val.csvAdded+3
syntheticSuccess/m7/arf/arf-m7-20260422_055912/train_20260422_055912.logAdded+3
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/_bayesnet_generate.pyAdded+75
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/_bayesnet_train.pyAdded+93
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet-m7-4088-20260420_035257.csvAdded+3
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_coltypes.jsonAdded+53
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_model.pklAdded+3
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/const_cols.jsonAdded+1
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/gen_20260420_035257.logAdded+3
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/input_snapshot.jsonAdded+36
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/normalized_schema_snapshot.jsonAdded+242
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/public_gate_report.jsonAdded+37
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/staged_input_manifest.jsonAdded+247
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/runtime_result.jsonAdded+15
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/bayesnet/adapter_report.jsonAdded+7
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/bayesnet/adapter_transforms_applied.jsonAdded+1
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/bayesnet/model_input_manifest.jsonAdded+249
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/staged_features.jsonAdded+62
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/test.csvAdded+3
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/train.csvAdded+3
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/val.csvAdded+3
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/train_20260420_035053.logAdded+3
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/_ctgan_generate.pyAdded+18
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/ctgan-m7-4088-20260422_031701.csvAdded+3
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/ctgan_metadata.jsonAdded+52
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/ctgan_train_continuous_imputed.csvAdded+3
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/gen_20260422_031701.logAdded+3
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/input_snapshot.jsonAdded+36
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/models_300epochs/ctgan_300epochs.ptAdded+3
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/models_300epochs/train_20260422_031300.logAdded+3
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/public_gate/normalized_schema_snapshot.jsonAdded+242
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/public_gate/public_gate_report.jsonAdded+37
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/public_gate/staged_input_manifest.jsonAdded+247
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/runtime_result.jsonAdded+15