jialinzhang commited on
Commit ·
af0cd7d
1
Parent(s): ba46fef
Add syntheticSuccess n12
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/_arf_generate.py +6 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/_arf_train.py +19 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/arf-n12-1000-20260325_104228.csv +3 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/arf-n12-196045-20260330_070603.csv +3 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/arf_model.pkl +3 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/gen_20260325_104228.log +3 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/gen_20260330_070603.log +3 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/input_snapshot.json +36 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/public_gate/normalized_schema_snapshot.json +88 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/public_gate/public_gate_report.json +37 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/public_gate/staged_input_manifest.json +93 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/runtime_result.json +14 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/staged/arf/adapter_report.json +7 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/staged/arf/adapter_transforms_applied.json +1 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/staged/arf/model_input_manifest.json +95 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/staged/public/staged_features.json +22 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/staged/public/test.csv +3 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/staged/public/train.csv +3 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/staged/public/val.csv +3 -0
- syntheticSuccess/n12/arf/arf-n12-20260325_102131/train_20260325_102132.log +3 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/_bayesnet_generate.py +104 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/_bayesnet_train.py +118 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet-n12-196045-20260422_060234.csv +3 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet_coltypes.json +21 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet_model.pkl +3 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/const_cols.json +1 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/gen_20260422_060234.log +3 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/input_snapshot.json +36 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/public_gate/normalized_schema_snapshot.json +88 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/public_gate/public_gate_report.json +37 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/public_gate/staged_input_manifest.json +93 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/runtime_result.json +15 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/staged/bayesnet/adapter_report.json +7 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/staged/bayesnet/adapter_transforms_applied.json +1 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/staged/bayesnet/model_input_manifest.json +95 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/staged_features.json +22 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/test.csv +3 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/train.csv +3 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/val.csv +3 -0
- syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/train_20260422_060153.log +3 -0
- syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/ctgan-n12-1000-20260328_113731.csv +3 -0
- syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/ctgan-n12-196045-20260330_070542.csv +3 -0
- syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/ctgan_metadata.json +20 -0
- syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/gen_20260328_113731.log +0 -0
- syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/gen_20260330_070542.log +0 -0
- syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/input_snapshot.json +36 -0
- syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/models_300epochs/ctgan_300epochs.pt +3 -0
- syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/models_300epochs/train_20260328_054311.log +3 -0
- syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/public_gate/normalized_schema_snapshot.json +88 -0
- syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/public_gate/public_gate_report.json +37 -0
syntheticSuccess/n12/arf/arf-n12-20260325_102131/_arf_generate.py
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import pickle
|
| 2 |
+
with open("/work/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/arf_model.pkl", "rb") as f:
|
| 3 |
+
model = pickle.load(f)
|
| 4 |
+
syn = model.forge(n=196045)
|
| 5 |
+
syn.to_csv("/work/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/arf-n12-196045-20260330_070603.csv", index=False)
|
| 6 |
+
print(f"[ARF] Generated 196045 rows -> /work/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/arf-n12-196045-20260330_070603.csv")
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/_arf_train.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import pickle
|
| 2 |
+
import pandas as pd
|
| 3 |
+
from arfpy import arf
|
| 4 |
+
|
| 5 |
+
df = pd.read_csv("/work/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/staged/public/train.csv")
|
| 6 |
+
df = df.dropna(axis=1, how="all")
|
| 7 |
+
print(f"[ARF] Training on {len(df)} rows, {len(df.columns)} cols")
|
| 8 |
+
|
| 9 |
+
model = arf.arf(x=df)
|
| 10 |
+
if hasattr(model, "fit"):
|
| 11 |
+
model.fit()
|
| 12 |
+
elif hasattr(model, "forde"):
|
| 13 |
+
model.forde()
|
| 14 |
+
else:
|
| 15 |
+
raise RuntimeError("arfpy API: no fit() / forde()")
|
| 16 |
+
|
| 17 |
+
with open("/work/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/arf_model.pkl", "wb") as f:
|
| 18 |
+
pickle.dump(model, f)
|
| 19 |
+
print(f"[ARF] Model saved -> /work/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/arf_model.pkl")
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/arf-n12-1000-20260325_104228.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ebad5cc48c699369c0b8b75e100452a3cb3d5a202877c8a4b6b32e3575492794
|
| 3 |
+
size 35869
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/arf-n12-196045-20260330_070603.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4804fd94f0e40194dad9e98eb74cac820d46b7191d1a68adfe4ec445068d4ba
|
| 3 |
+
size 6997915
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/arf_model.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e9e53933698a6e015a7fff5f17e54409db0fbca57502dec4591fe582be7b3c5
|
| 3 |
+
size 251337775
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/gen_20260325_104228.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b764891a0d829ca232fd7188dd4929edf539fe1430c9f77553869f17ef24f53b
|
| 3 |
+
size 441
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/gen_20260330_070603.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:011e50b0bfd962e233a1368fe3248e952621f331b370841dc992f7ff5abe1df3
|
| 3 |
+
size 445
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/input_snapshot.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"model": "arf",
|
| 4 |
+
"inputs": {
|
| 5 |
+
"train_csv": {
|
| 6 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-train.csv",
|
| 7 |
+
"exists": true,
|
| 8 |
+
"size": 2720466,
|
| 9 |
+
"sha256": "4c3e44750c769fb56cd6224e07240585091e57a4786f4bbd4b914826fe9eedb2"
|
| 10 |
+
},
|
| 11 |
+
"val_csv": {
|
| 12 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-val.csv",
|
| 13 |
+
"exists": true,
|
| 14 |
+
"size": 340170,
|
| 15 |
+
"sha256": "761692b00c3ad9e4f07dd51f386f4d42ab2b68ed91f741cd850981f7f5b58fd5"
|
| 16 |
+
},
|
| 17 |
+
"test_csv": {
|
| 18 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-test.csv",
|
| 19 |
+
"exists": true,
|
| 20 |
+
"size": 340296,
|
| 21 |
+
"sha256": "6531e89976491f6fb7d02635a2e934e058c1bb15faaf5debc7052fbe5d0b8b81"
|
| 22 |
+
},
|
| 23 |
+
"profile_json": {
|
| 24 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n12/n12-dataset_profile.json",
|
| 25 |
+
"exists": true,
|
| 26 |
+
"size": 2302,
|
| 27 |
+
"sha256": "d4fe8e20de077a2855d2af5dd1e73126e04bf2a0741e28ff80368983f126319b"
|
| 28 |
+
},
|
| 29 |
+
"contract_json": {
|
| 30 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n12/n12-dataset_contract_v1.json",
|
| 31 |
+
"exists": true,
|
| 32 |
+
"size": 2472,
|
| 33 |
+
"sha256": "856639afabf103741f49f84eac0546ba3f4f3d2258fa3016263682d164e78a7a"
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
}
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"target_column": "target",
|
| 4 |
+
"task_type": "classification",
|
| 5 |
+
"columns": [
|
| 6 |
+
{
|
| 7 |
+
"name": "feature_1",
|
| 8 |
+
"role": "feature",
|
| 9 |
+
"semantic_type": "numeric",
|
| 10 |
+
"nullable": false,
|
| 11 |
+
"missing_tokens": [],
|
| 12 |
+
"parse_format": null,
|
| 13 |
+
"impute_strategy": "median",
|
| 14 |
+
"profile_stats": {
|
| 15 |
+
"missing_rate": 0.0,
|
| 16 |
+
"unique_count": 256,
|
| 17 |
+
"unique_ratio": 0.001306,
|
| 18 |
+
"example_values": [
|
| 19 |
+
"74",
|
| 20 |
+
"14",
|
| 21 |
+
"115",
|
| 22 |
+
"130",
|
| 23 |
+
"5"
|
| 24 |
+
]
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"name": "feature_2",
|
| 29 |
+
"role": "feature",
|
| 30 |
+
"semantic_type": "numeric",
|
| 31 |
+
"nullable": false,
|
| 32 |
+
"missing_tokens": [],
|
| 33 |
+
"parse_format": null,
|
| 34 |
+
"impute_strategy": "median",
|
| 35 |
+
"profile_stats": {
|
| 36 |
+
"missing_rate": 0.0,
|
| 37 |
+
"unique_count": 256,
|
| 38 |
+
"unique_ratio": 0.001306,
|
| 39 |
+
"example_values": [
|
| 40 |
+
"85",
|
| 41 |
+
"5",
|
| 42 |
+
"116",
|
| 43 |
+
"169",
|
| 44 |
+
"4"
|
| 45 |
+
]
|
| 46 |
+
}
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": "feature_3",
|
| 50 |
+
"role": "feature",
|
| 51 |
+
"semantic_type": "numeric",
|
| 52 |
+
"nullable": false,
|
| 53 |
+
"missing_tokens": [],
|
| 54 |
+
"parse_format": null,
|
| 55 |
+
"impute_strategy": "median",
|
| 56 |
+
"profile_stats": {
|
| 57 |
+
"missing_rate": 0.0,
|
| 58 |
+
"unique_count": 256,
|
| 59 |
+
"unique_ratio": 0.001306,
|
| 60 |
+
"example_values": [
|
| 61 |
+
"123",
|
| 62 |
+
"186",
|
| 63 |
+
"60",
|
| 64 |
+
"221",
|
| 65 |
+
"0"
|
| 66 |
+
]
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"name": "target",
|
| 71 |
+
"role": "target",
|
| 72 |
+
"semantic_type": "numeric",
|
| 73 |
+
"nullable": false,
|
| 74 |
+
"missing_tokens": [],
|
| 75 |
+
"parse_format": null,
|
| 76 |
+
"impute_strategy": "median",
|
| 77 |
+
"profile_stats": {
|
| 78 |
+
"missing_rate": 0.0,
|
| 79 |
+
"unique_count": 2,
|
| 80 |
+
"unique_ratio": 1e-05,
|
| 81 |
+
"example_values": [
|
| 82 |
+
"1",
|
| 83 |
+
"2"
|
| 84 |
+
]
|
| 85 |
+
}
|
| 86 |
+
}
|
| 87 |
+
]
|
| 88 |
+
}
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"status": "pass",
|
| 4 |
+
"checks": [
|
| 5 |
+
{
|
| 6 |
+
"check_id": "PG001_csv_parse_ok",
|
| 7 |
+
"status": "pass"
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"check_id": "PG002_split_header_consistent",
|
| 11 |
+
"status": "pass"
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"check_id": "PG003_profile_header_match",
|
| 15 |
+
"status": "pass"
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"check_id": "PG004_missing_token_normalized",
|
| 19 |
+
"status": "pass"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"check_id": "PG005_semantic_type_validated",
|
| 23 |
+
"status": "pass"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"check_id": "PG006_target_defined_and_valid",
|
| 27 |
+
"status": "pass"
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"target_column": "target",
|
| 31 |
+
"task_type": "classification",
|
| 32 |
+
"input_splits": {
|
| 33 |
+
"train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-train.csv",
|
| 34 |
+
"val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-val.csv",
|
| 35 |
+
"test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-test.csv"
|
| 36 |
+
}
|
| 37 |
+
}
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"target_column": "target",
|
| 4 |
+
"task_type": "classification",
|
| 5 |
+
"train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/staged/public/train.csv",
|
| 6 |
+
"val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/staged/public/val.csv",
|
| 7 |
+
"test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/staged/public/test.csv",
|
| 8 |
+
"features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/staged/public/staged_features.json",
|
| 9 |
+
"public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/public_gate/public_gate_report.json",
|
| 10 |
+
"column_schema": [
|
| 11 |
+
{
|
| 12 |
+
"name": "feature_1",
|
| 13 |
+
"role": "feature",
|
| 14 |
+
"semantic_type": "numeric",
|
| 15 |
+
"nullable": false,
|
| 16 |
+
"missing_tokens": [],
|
| 17 |
+
"parse_format": null,
|
| 18 |
+
"impute_strategy": "median",
|
| 19 |
+
"profile_stats": {
|
| 20 |
+
"missing_rate": 0.0,
|
| 21 |
+
"unique_count": 256,
|
| 22 |
+
"unique_ratio": 0.001306,
|
| 23 |
+
"example_values": [
|
| 24 |
+
"74",
|
| 25 |
+
"14",
|
| 26 |
+
"115",
|
| 27 |
+
"130",
|
| 28 |
+
"5"
|
| 29 |
+
]
|
| 30 |
+
}
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"name": "feature_2",
|
| 34 |
+
"role": "feature",
|
| 35 |
+
"semantic_type": "numeric",
|
| 36 |
+
"nullable": false,
|
| 37 |
+
"missing_tokens": [],
|
| 38 |
+
"parse_format": null,
|
| 39 |
+
"impute_strategy": "median",
|
| 40 |
+
"profile_stats": {
|
| 41 |
+
"missing_rate": 0.0,
|
| 42 |
+
"unique_count": 256,
|
| 43 |
+
"unique_ratio": 0.001306,
|
| 44 |
+
"example_values": [
|
| 45 |
+
"85",
|
| 46 |
+
"5",
|
| 47 |
+
"116",
|
| 48 |
+
"169",
|
| 49 |
+
"4"
|
| 50 |
+
]
|
| 51 |
+
}
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"name": "feature_3",
|
| 55 |
+
"role": "feature",
|
| 56 |
+
"semantic_type": "numeric",
|
| 57 |
+
"nullable": false,
|
| 58 |
+
"missing_tokens": [],
|
| 59 |
+
"parse_format": null,
|
| 60 |
+
"impute_strategy": "median",
|
| 61 |
+
"profile_stats": {
|
| 62 |
+
"missing_rate": 0.0,
|
| 63 |
+
"unique_count": 256,
|
| 64 |
+
"unique_ratio": 0.001306,
|
| 65 |
+
"example_values": [
|
| 66 |
+
"123",
|
| 67 |
+
"186",
|
| 68 |
+
"60",
|
| 69 |
+
"221",
|
| 70 |
+
"0"
|
| 71 |
+
]
|
| 72 |
+
}
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"name": "target",
|
| 76 |
+
"role": "target",
|
| 77 |
+
"semantic_type": "numeric",
|
| 78 |
+
"nullable": false,
|
| 79 |
+
"missing_tokens": [],
|
| 80 |
+
"parse_format": null,
|
| 81 |
+
"impute_strategy": "median",
|
| 82 |
+
"profile_stats": {
|
| 83 |
+
"missing_rate": 0.0,
|
| 84 |
+
"unique_count": 2,
|
| 85 |
+
"unique_ratio": 1e-05,
|
| 86 |
+
"example_values": [
|
| 87 |
+
"1",
|
| 88 |
+
"2"
|
| 89 |
+
]
|
| 90 |
+
}
|
| 91 |
+
}
|
| 92 |
+
]
|
| 93 |
+
}
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/runtime_result.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"model": "arf",
|
| 4 |
+
"run_id": "arf-n12-20260325_102131",
|
| 5 |
+
"public_gate_status": "pass",
|
| 6 |
+
"adapter_ready_status": "pass",
|
| 7 |
+
"train_status": "skipped",
|
| 8 |
+
"generate_status": "success",
|
| 9 |
+
"reason_code": null,
|
| 10 |
+
"reason_detail": null,
|
| 11 |
+
"artifacts": {
|
| 12 |
+
"synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/arf-n12-196045-20260330_070603.csv"
|
| 13 |
+
}
|
| 14 |
+
}
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/staged/arf/adapter_report.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"adapter_ready_status": "pass",
|
| 3 |
+
"adapter_fail_reason_code": null,
|
| 4 |
+
"adapter_fail_detail": null,
|
| 5 |
+
"adapter_transforms_applied": [],
|
| 6 |
+
"model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/staged/arf/model_input_manifest.json"
|
| 7 |
+
}
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/staged/arf/adapter_transforms_applied.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[]
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/staged/arf/model_input_manifest.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"model": "arf",
|
| 4 |
+
"target_column": "target",
|
| 5 |
+
"task_type": "classification",
|
| 6 |
+
"column_schema": [
|
| 7 |
+
{
|
| 8 |
+
"name": "feature_1",
|
| 9 |
+
"role": "feature",
|
| 10 |
+
"semantic_type": "numeric",
|
| 11 |
+
"nullable": false,
|
| 12 |
+
"missing_tokens": [],
|
| 13 |
+
"parse_format": null,
|
| 14 |
+
"impute_strategy": "median",
|
| 15 |
+
"profile_stats": {
|
| 16 |
+
"missing_rate": 0.0,
|
| 17 |
+
"unique_count": 256,
|
| 18 |
+
"unique_ratio": 0.001306,
|
| 19 |
+
"example_values": [
|
| 20 |
+
"74",
|
| 21 |
+
"14",
|
| 22 |
+
"115",
|
| 23 |
+
"130",
|
| 24 |
+
"5"
|
| 25 |
+
]
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"name": "feature_2",
|
| 30 |
+
"role": "feature",
|
| 31 |
+
"semantic_type": "numeric",
|
| 32 |
+
"nullable": false,
|
| 33 |
+
"missing_tokens": [],
|
| 34 |
+
"parse_format": null,
|
| 35 |
+
"impute_strategy": "median",
|
| 36 |
+
"profile_stats": {
|
| 37 |
+
"missing_rate": 0.0,
|
| 38 |
+
"unique_count": 256,
|
| 39 |
+
"unique_ratio": 0.001306,
|
| 40 |
+
"example_values": [
|
| 41 |
+
"85",
|
| 42 |
+
"5",
|
| 43 |
+
"116",
|
| 44 |
+
"169",
|
| 45 |
+
"4"
|
| 46 |
+
]
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": "feature_3",
|
| 51 |
+
"role": "feature",
|
| 52 |
+
"semantic_type": "numeric",
|
| 53 |
+
"nullable": false,
|
| 54 |
+
"missing_tokens": [],
|
| 55 |
+
"parse_format": null,
|
| 56 |
+
"impute_strategy": "median",
|
| 57 |
+
"profile_stats": {
|
| 58 |
+
"missing_rate": 0.0,
|
| 59 |
+
"unique_count": 256,
|
| 60 |
+
"unique_ratio": 0.001306,
|
| 61 |
+
"example_values": [
|
| 62 |
+
"123",
|
| 63 |
+
"186",
|
| 64 |
+
"60",
|
| 65 |
+
"221",
|
| 66 |
+
"0"
|
| 67 |
+
]
|
| 68 |
+
}
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"name": "target",
|
| 72 |
+
"role": "target",
|
| 73 |
+
"semantic_type": "numeric",
|
| 74 |
+
"nullable": false,
|
| 75 |
+
"missing_tokens": [],
|
| 76 |
+
"parse_format": null,
|
| 77 |
+
"impute_strategy": "median",
|
| 78 |
+
"profile_stats": {
|
| 79 |
+
"missing_rate": 0.0,
|
| 80 |
+
"unique_count": 2,
|
| 81 |
+
"unique_ratio": 1e-05,
|
| 82 |
+
"example_values": [
|
| 83 |
+
"1",
|
| 84 |
+
"2"
|
| 85 |
+
]
|
| 86 |
+
}
|
| 87 |
+
}
|
| 88 |
+
],
|
| 89 |
+
"public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/public_gate/staged_input_manifest.json",
|
| 90 |
+
"train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/staged/public/train.csv",
|
| 91 |
+
"val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/staged/public/val.csv",
|
| 92 |
+
"test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/staged/public/test.csv",
|
| 93 |
+
"features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/staged/public/staged_features.json",
|
| 94 |
+
"public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/arf/arf-n12-20260325_102131/public_gate/public_gate_report.json"
|
| 95 |
+
}
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"feature_name": "feature_1",
|
| 4 |
+
"data_type": "continuous",
|
| 5 |
+
"is_target": false
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"feature_name": "feature_2",
|
| 9 |
+
"data_type": "continuous",
|
| 10 |
+
"is_target": false
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"feature_name": "feature_3",
|
| 14 |
+
"data_type": "continuous",
|
| 15 |
+
"is_target": false
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"feature_name": "target",
|
| 19 |
+
"data_type": "continuous",
|
| 20 |
+
"is_target": true
|
| 21 |
+
}
|
| 22 |
+
]
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4972eb2812d325c143ec99492afa470fe047141a9bdf34893ec0133a12b8dc26
|
| 3 |
+
size 315789
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:728fec9c0ec06ca4b292989614be4374c308d9a15b1e0002c3daeb3a68d5d350
|
| 3 |
+
size 2524420
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8931c0b2402466ccca41868fc484ab4bc6f627d68422570b20d47d1104922959
|
| 3 |
+
size 315663
|
syntheticSuccess/n12/arf/arf-n12-20260325_102131/train_20260325_102132.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bc1fb41696be8aa62994b536f132020be7e811b9ef127e1e6dcdaf090dd62bc
|
| 3 |
+
size 506
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/_bayesnet_generate.py
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import pickle
|
| 3 |
+
import subprocess
|
| 4 |
+
import sys
|
| 5 |
+
import warnings
|
| 6 |
+
|
| 7 |
+
import numpy as np
|
| 8 |
+
import pandas as pd
|
| 9 |
+
from pgmpy.sampling import BayesianModelSampling
|
| 10 |
+
|
| 11 |
+
warnings.filterwarnings("ignore", category=FutureWarning)
|
| 12 |
+
|
| 13 |
+
def _ensure_cloudpickle():
|
| 14 |
+
try:
|
| 15 |
+
import cloudpickle # noqa: F401
|
| 16 |
+
except ModuleNotFoundError:
|
| 17 |
+
subprocess.check_call(
|
| 18 |
+
[sys.executable, "-m", "pip", "install", "--quiet", "cloudpickle"],
|
| 19 |
+
)
|
| 20 |
+
|
| 21 |
+
_ensure_cloudpickle()
|
| 22 |
+
|
| 23 |
+
with open("/work/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet_model.pkl", "rb") as f:
|
| 24 |
+
bundle = pickle.load(f)
|
| 25 |
+
|
| 26 |
+
network = bundle["network"]
|
| 27 |
+
inverse = bundle["inverse"]
|
| 28 |
+
cols = bundle["column_order"]
|
| 29 |
+
integer_columns = set(bundle.get("integer_columns") or [])
|
| 30 |
+
full_order = bundle.get("full_column_order") or cols
|
| 31 |
+
const_cols = bundle.get("const_cols") or {}
|
| 32 |
+
|
| 33 |
+
num_rows = int(196045)
|
| 34 |
+
sampler = BayesianModelSampling(network)
|
| 35 |
+
raw = sampler.forward_sample(size=num_rows, show_progress=False)
|
| 36 |
+
raw = raw.reset_index(drop=True)
|
| 37 |
+
if len(raw) > num_rows:
|
| 38 |
+
raw = raw.iloc[:num_rows]
|
| 39 |
+
_tries = 0
|
| 40 |
+
while len(raw) < num_rows and _tries < 64:
|
| 41 |
+
_tries += 1
|
| 42 |
+
nextra = min(10000, num_rows - len(raw))
|
| 43 |
+
more = sampler.forward_sample(size=max(nextra, 1), show_progress=False)
|
| 44 |
+
more = more.reset_index(drop=True)
|
| 45 |
+
if len(more) == 0:
|
| 46 |
+
break
|
| 47 |
+
raw = pd.concat([raw, more], ignore_index=True)
|
| 48 |
+
if len(raw) > num_rows:
|
| 49 |
+
raw = raw.iloc[:num_rows]
|
| 50 |
+
|
| 51 |
+
out = pd.DataFrame(index=raw.index)
|
| 52 |
+
rng = np.random.default_rng()
|
| 53 |
+
|
| 54 |
+
for c in cols:
|
| 55 |
+
if c in inverse["categorical"]:
|
| 56 |
+
levels = inverse["categorical"][c]
|
| 57 |
+
idx = raw[c].astype(int).to_numpy()
|
| 58 |
+
idx = np.clip(idx, 0, max(0, len(levels) - 1))
|
| 59 |
+
out[c] = [levels[i] for i in idx]
|
| 60 |
+
else:
|
| 61 |
+
edges = np.asarray(inverse["continuous"][c], dtype=float)
|
| 62 |
+
if edges.size < 2:
|
| 63 |
+
out[c] = 0.0
|
| 64 |
+
else:
|
| 65 |
+
nbin = edges.size - 1
|
| 66 |
+
res = []
|
| 67 |
+
for k in raw[c].astype(int).to_numpy():
|
| 68 |
+
k = int(k)
|
| 69 |
+
if k < 0:
|
| 70 |
+
k = 0
|
| 71 |
+
if k >= nbin:
|
| 72 |
+
k = nbin - 1
|
| 73 |
+
lo, hi = float(edges[k]), float(edges[k + 1])
|
| 74 |
+
if hi < lo:
|
| 75 |
+
lo, hi = hi, lo
|
| 76 |
+
v = rng.uniform(lo, hi)
|
| 77 |
+
if c in integer_columns:
|
| 78 |
+
v = int(round(v))
|
| 79 |
+
res.append(v)
|
| 80 |
+
out[c] = res
|
| 81 |
+
|
| 82 |
+
final = pd.DataFrame(index=out.index)
|
| 83 |
+
for c in full_order:
|
| 84 |
+
if c in const_cols:
|
| 85 |
+
final[c] = const_cols[c]
|
| 86 |
+
elif c in out.columns:
|
| 87 |
+
final[c] = out[c]
|
| 88 |
+
|
| 89 |
+
dtypes = bundle.get("original_dtypes") or {}
|
| 90 |
+
for c, dts in dtypes.items():
|
| 91 |
+
if c not in final.columns:
|
| 92 |
+
continue
|
| 93 |
+
try:
|
| 94 |
+
if "int" in dts:
|
| 95 |
+
final[c] = pd.to_numeric(final[c], errors="coerce").astype("Int64")
|
| 96 |
+
elif "float" in dts:
|
| 97 |
+
final[c] = pd.to_numeric(final[c], errors="coerce")
|
| 98 |
+
except Exception:
|
| 99 |
+
pass
|
| 100 |
+
|
| 101 |
+
if len(final) != num_rows:
|
| 102 |
+
final = final.iloc[:num_rows].copy()
|
| 103 |
+
final.to_csv("/work/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet-n12-196045-20260422_060234.csv", index=False)
|
| 104 |
+
print(f"[BayesNet] Generated {len(final)} rows (requested {num_rows}) -> /work/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet-n12-196045-20260422_060234.csv")
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/_bayesnet_train.py
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import json
|
| 3 |
+
import pickle
|
| 4 |
+
import subprocess
|
| 5 |
+
import sys
|
| 6 |
+
import warnings
|
| 7 |
+
|
| 8 |
+
import numpy as np
|
| 9 |
+
import pandas as pd
|
| 10 |
+
from pgmpy.estimators import TreeSearch
|
| 11 |
+
from pgmpy.models import DiscreteBayesianNetwork
|
| 12 |
+
warnings.filterwarnings("ignore", category=FutureWarning)
|
| 13 |
+
|
| 14 |
+
def _ensure_cloudpickle():
|
| 15 |
+
try:
|
| 16 |
+
import cloudpickle # noqa: F401
|
| 17 |
+
except ModuleNotFoundError:
|
| 18 |
+
subprocess.check_call(
|
| 19 |
+
[sys.executable, "-m", "pip", "install", "--quiet", "cloudpickle"],
|
| 20 |
+
)
|
| 21 |
+
|
| 22 |
+
_ensure_cloudpickle()
|
| 23 |
+
|
| 24 |
+
with open("/work/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet_coltypes.json", "r", encoding="utf-8") as _f:
|
| 25 |
+
colmeta = json.load(_f)
|
| 26 |
+
integer_columns = set(colmeta.get("integer_columns") or [])
|
| 27 |
+
|
| 28 |
+
df = pd.read_csv("/work/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/train.csv")
|
| 29 |
+
df = df.dropna(axis=1, how="all")
|
| 30 |
+
full_column_order = list(df.columns)
|
| 31 |
+
|
| 32 |
+
const_cols = {}
|
| 33 |
+
for col in list(df.columns):
|
| 34 |
+
if df[col].nunique(dropna=True) <= 1:
|
| 35 |
+
const_cols[col] = df[col].iloc[0] if len(df) > 0 else None
|
| 36 |
+
df = df.drop(columns=[col])
|
| 37 |
+
print(f"[BayesNet] Dropped zero-variance column '{col}'")
|
| 38 |
+
|
| 39 |
+
const_path = "/work/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet_model.pkl".replace("bayesnet_model.pkl", "const_cols.json")
|
| 40 |
+
with open(const_path, "w", encoding="utf-8") as _f:
|
| 41 |
+
json.dump({k: str(v) for k, v in const_cols.items()}, _f)
|
| 42 |
+
|
| 43 |
+
inverse = {"categorical": {}, "continuous": {}}
|
| 44 |
+
enc = pd.DataFrame(index=df.index)
|
| 45 |
+
_n_samples = len(df)
|
| 46 |
+
_n_plan = sum(
|
| 47 |
+
1 for e in colmeta["columns"] if str(e.get("name", "")) in df.columns
|
| 48 |
+
)
|
| 49 |
+
max_bins = 10
|
| 50 |
+
if _n_plan > 35 or _n_samples > 200000:
|
| 51 |
+
max_bins = 5
|
| 52 |
+
if _n_plan > 55:
|
| 53 |
+
max_bins = 4
|
| 54 |
+
print(f"[BayesNet] max_bins={max_bins} (cols_in_df={_n_plan}, rows={_n_samples})")
|
| 55 |
+
|
| 56 |
+
for entry in colmeta["columns"]:
|
| 57 |
+
name = entry["name"]
|
| 58 |
+
if name not in df.columns:
|
| 59 |
+
continue
|
| 60 |
+
kind = entry["type"]
|
| 61 |
+
s = df[name]
|
| 62 |
+
if kind == "categorical":
|
| 63 |
+
uniques = sorted(s.dropna().unique(), key=lambda x: str(x))
|
| 64 |
+
mapping = {str(v): i for i, v in enumerate(uniques)}
|
| 65 |
+
inverse["categorical"][name] = [uniques[i] for i in range(len(uniques))]
|
| 66 |
+
enc[name] = s.map(lambda x, m=mapping: m.get(str(x), 0)).astype(int)
|
| 67 |
+
else:
|
| 68 |
+
s_num = pd.to_numeric(s, errors="coerce")
|
| 69 |
+
nu = int(s_num.nunique(dropna=True))
|
| 70 |
+
q = min(max_bins, max(2, nu))
|
| 71 |
+
if nu < 2:
|
| 72 |
+
enc[name] = np.zeros(len(s_num), dtype=int)
|
| 73 |
+
lo, hi = float(s_num.min()), float(s_num.max())
|
| 74 |
+
inverse["continuous"][name] = [lo, hi]
|
| 75 |
+
else:
|
| 76 |
+
try:
|
| 77 |
+
_, bins = pd.qcut(
|
| 78 |
+
s_num, q=q, retbins=True, duplicates="drop"
|
| 79 |
+
)
|
| 80 |
+
except Exception:
|
| 81 |
+
med = float(s_num.median())
|
| 82 |
+
s2 = s_num.fillna(med)
|
| 83 |
+
_, bins = pd.qcut(
|
| 84 |
+
s2, q=min(q, 3), retbins=True, duplicates="drop"
|
| 85 |
+
)
|
| 86 |
+
bins = np.asarray(bins, dtype=float)
|
| 87 |
+
lab = pd.cut(
|
| 88 |
+
s_num, bins=bins, labels=False, include_lowest=True
|
| 89 |
+
)
|
| 90 |
+
enc[name] = lab.fillna(0).astype(int)
|
| 91 |
+
inverse["continuous"][name] = bins.tolist()
|
| 92 |
+
|
| 93 |
+
print(f"[BayesNet] Training on {len(enc)} rows, {len(enc.columns)} cols (encoded)")
|
| 94 |
+
|
| 95 |
+
enc_struct = enc
|
| 96 |
+
if len(enc) > 25000:
|
| 97 |
+
enc_struct = enc.sample(n=25000, random_state=0, replace=False)
|
| 98 |
+
print(f"[BayesNet] TreeSearch on {len(enc_struct)} rows (subsample; full n={len(enc)})")
|
| 99 |
+
dag = TreeSearch(enc_struct).estimate(show_progress=False)
|
| 100 |
+
for col in enc.columns:
|
| 101 |
+
if col not in dag.nodes():
|
| 102 |
+
dag.add_node(col)
|
| 103 |
+
print(f"[BayesNet] Added isolated node to DAG: {col}")
|
| 104 |
+
network = DiscreteBayesianNetwork(dag)
|
| 105 |
+
network.fit(enc)
|
| 106 |
+
|
| 107 |
+
bundle = {
|
| 108 |
+
"network": network,
|
| 109 |
+
"inverse": inverse,
|
| 110 |
+
"column_order": list(enc.columns),
|
| 111 |
+
"full_column_order": full_column_order,
|
| 112 |
+
"integer_columns": list(integer_columns),
|
| 113 |
+
"original_dtypes": {c: str(df[c].dtype) for c in enc.columns},
|
| 114 |
+
"const_cols": const_cols,
|
| 115 |
+
}
|
| 116 |
+
with open("/work/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet_model.pkl", "wb") as _f:
|
| 117 |
+
pickle.dump(bundle, _f)
|
| 118 |
+
print(f"[BayesNet] Model saved -> /work/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet_model.pkl")
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet-n12-196045-20260422_060234.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8552d27b2d2ab3e62d36be08e91ec6cec8e6ded2f4f0ea8620267a56bd5520f2
|
| 3 |
+
size 14584062
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet_coltypes.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"columns": [
|
| 3 |
+
{
|
| 4 |
+
"name": "feature_1",
|
| 5 |
+
"type": "continuous"
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"name": "feature_2",
|
| 9 |
+
"type": "continuous"
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"name": "feature_3",
|
| 13 |
+
"type": "continuous"
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"name": "target",
|
| 17 |
+
"type": "continuous"
|
| 18 |
+
}
|
| 19 |
+
],
|
| 20 |
+
"integer_columns": []
|
| 21 |
+
}
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet_model.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6ec8386ff41840ac9208f69b88d7f84b61bb9aeae50fd6ef1c60a6e2ff95674
|
| 3 |
+
size 4766
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/const_cols.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{}
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/gen_20260422_060234.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bc1f4eb8d65d32c28f984e2d84f7aa41e44354adc8ba1125cdac27a2d5f4af5
|
| 3 |
+
size 3396
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/input_snapshot.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"model": "bayesnet",
|
| 4 |
+
"inputs": {
|
| 5 |
+
"train_csv": {
|
| 6 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-train.csv",
|
| 7 |
+
"exists": true,
|
| 8 |
+
"size": 2720466,
|
| 9 |
+
"sha256": "4c3e44750c769fb56cd6224e07240585091e57a4786f4bbd4b914826fe9eedb2"
|
| 10 |
+
},
|
| 11 |
+
"val_csv": {
|
| 12 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-val.csv",
|
| 13 |
+
"exists": true,
|
| 14 |
+
"size": 340170,
|
| 15 |
+
"sha256": "761692b00c3ad9e4f07dd51f386f4d42ab2b68ed91f741cd850981f7f5b58fd5"
|
| 16 |
+
},
|
| 17 |
+
"test_csv": {
|
| 18 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-test.csv",
|
| 19 |
+
"exists": true,
|
| 20 |
+
"size": 340296,
|
| 21 |
+
"sha256": "6531e89976491f6fb7d02635a2e934e058c1bb15faaf5debc7052fbe5d0b8b81"
|
| 22 |
+
},
|
| 23 |
+
"profile_json": {
|
| 24 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n12/n12-dataset_profile.json",
|
| 25 |
+
"exists": true,
|
| 26 |
+
"size": 2302,
|
| 27 |
+
"sha256": "d4fe8e20de077a2855d2af5dd1e73126e04bf2a0741e28ff80368983f126319b"
|
| 28 |
+
},
|
| 29 |
+
"contract_json": {
|
| 30 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n12/n12-dataset_contract_v1.json",
|
| 31 |
+
"exists": true,
|
| 32 |
+
"size": 2472,
|
| 33 |
+
"sha256": "856639afabf103741f49f84eac0546ba3f4f3d2258fa3016263682d164e78a7a"
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
}
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"target_column": "target",
|
| 4 |
+
"task_type": "classification",
|
| 5 |
+
"columns": [
|
| 6 |
+
{
|
| 7 |
+
"name": "feature_1",
|
| 8 |
+
"role": "feature",
|
| 9 |
+
"semantic_type": "numeric",
|
| 10 |
+
"nullable": false,
|
| 11 |
+
"missing_tokens": [],
|
| 12 |
+
"parse_format": null,
|
| 13 |
+
"impute_strategy": "median",
|
| 14 |
+
"profile_stats": {
|
| 15 |
+
"missing_rate": 0.0,
|
| 16 |
+
"unique_count": 256,
|
| 17 |
+
"unique_ratio": 0.001306,
|
| 18 |
+
"example_values": [
|
| 19 |
+
"74",
|
| 20 |
+
"14",
|
| 21 |
+
"115",
|
| 22 |
+
"130",
|
| 23 |
+
"5"
|
| 24 |
+
]
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"name": "feature_2",
|
| 29 |
+
"role": "feature",
|
| 30 |
+
"semantic_type": "numeric",
|
| 31 |
+
"nullable": false,
|
| 32 |
+
"missing_tokens": [],
|
| 33 |
+
"parse_format": null,
|
| 34 |
+
"impute_strategy": "median",
|
| 35 |
+
"profile_stats": {
|
| 36 |
+
"missing_rate": 0.0,
|
| 37 |
+
"unique_count": 256,
|
| 38 |
+
"unique_ratio": 0.001306,
|
| 39 |
+
"example_values": [
|
| 40 |
+
"85",
|
| 41 |
+
"5",
|
| 42 |
+
"116",
|
| 43 |
+
"169",
|
| 44 |
+
"4"
|
| 45 |
+
]
|
| 46 |
+
}
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": "feature_3",
|
| 50 |
+
"role": "feature",
|
| 51 |
+
"semantic_type": "numeric",
|
| 52 |
+
"nullable": false,
|
| 53 |
+
"missing_tokens": [],
|
| 54 |
+
"parse_format": null,
|
| 55 |
+
"impute_strategy": "median",
|
| 56 |
+
"profile_stats": {
|
| 57 |
+
"missing_rate": 0.0,
|
| 58 |
+
"unique_count": 256,
|
| 59 |
+
"unique_ratio": 0.001306,
|
| 60 |
+
"example_values": [
|
| 61 |
+
"123",
|
| 62 |
+
"186",
|
| 63 |
+
"60",
|
| 64 |
+
"221",
|
| 65 |
+
"0"
|
| 66 |
+
]
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"name": "target",
|
| 71 |
+
"role": "target",
|
| 72 |
+
"semantic_type": "numeric",
|
| 73 |
+
"nullable": false,
|
| 74 |
+
"missing_tokens": [],
|
| 75 |
+
"parse_format": null,
|
| 76 |
+
"impute_strategy": "median",
|
| 77 |
+
"profile_stats": {
|
| 78 |
+
"missing_rate": 0.0,
|
| 79 |
+
"unique_count": 2,
|
| 80 |
+
"unique_ratio": 1e-05,
|
| 81 |
+
"example_values": [
|
| 82 |
+
"1",
|
| 83 |
+
"2"
|
| 84 |
+
]
|
| 85 |
+
}
|
| 86 |
+
}
|
| 87 |
+
]
|
| 88 |
+
}
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"status": "pass",
|
| 4 |
+
"checks": [
|
| 5 |
+
{
|
| 6 |
+
"check_id": "PG001_csv_parse_ok",
|
| 7 |
+
"status": "pass"
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"check_id": "PG002_split_header_consistent",
|
| 11 |
+
"status": "pass"
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"check_id": "PG003_profile_header_match",
|
| 15 |
+
"status": "pass"
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"check_id": "PG004_missing_token_normalized",
|
| 19 |
+
"status": "pass"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"check_id": "PG005_semantic_type_validated",
|
| 23 |
+
"status": "pass"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"check_id": "PG006_target_defined_and_valid",
|
| 27 |
+
"status": "pass"
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"target_column": "target",
|
| 31 |
+
"task_type": "classification",
|
| 32 |
+
"input_splits": {
|
| 33 |
+
"train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-train.csv",
|
| 34 |
+
"val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-val.csv",
|
| 35 |
+
"test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-test.csv"
|
| 36 |
+
}
|
| 37 |
+
}
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"target_column": "target",
|
| 4 |
+
"task_type": "classification",
|
| 5 |
+
"train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/train.csv",
|
| 6 |
+
"val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/val.csv",
|
| 7 |
+
"test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/test.csv",
|
| 8 |
+
"features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/staged_features.json",
|
| 9 |
+
"public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/public_gate/public_gate_report.json",
|
| 10 |
+
"column_schema": [
|
| 11 |
+
{
|
| 12 |
+
"name": "feature_1",
|
| 13 |
+
"role": "feature",
|
| 14 |
+
"semantic_type": "numeric",
|
| 15 |
+
"nullable": false,
|
| 16 |
+
"missing_tokens": [],
|
| 17 |
+
"parse_format": null,
|
| 18 |
+
"impute_strategy": "median",
|
| 19 |
+
"profile_stats": {
|
| 20 |
+
"missing_rate": 0.0,
|
| 21 |
+
"unique_count": 256,
|
| 22 |
+
"unique_ratio": 0.001306,
|
| 23 |
+
"example_values": [
|
| 24 |
+
"74",
|
| 25 |
+
"14",
|
| 26 |
+
"115",
|
| 27 |
+
"130",
|
| 28 |
+
"5"
|
| 29 |
+
]
|
| 30 |
+
}
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"name": "feature_2",
|
| 34 |
+
"role": "feature",
|
| 35 |
+
"semantic_type": "numeric",
|
| 36 |
+
"nullable": false,
|
| 37 |
+
"missing_tokens": [],
|
| 38 |
+
"parse_format": null,
|
| 39 |
+
"impute_strategy": "median",
|
| 40 |
+
"profile_stats": {
|
| 41 |
+
"missing_rate": 0.0,
|
| 42 |
+
"unique_count": 256,
|
| 43 |
+
"unique_ratio": 0.001306,
|
| 44 |
+
"example_values": [
|
| 45 |
+
"85",
|
| 46 |
+
"5",
|
| 47 |
+
"116",
|
| 48 |
+
"169",
|
| 49 |
+
"4"
|
| 50 |
+
]
|
| 51 |
+
}
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"name": "feature_3",
|
| 55 |
+
"role": "feature",
|
| 56 |
+
"semantic_type": "numeric",
|
| 57 |
+
"nullable": false,
|
| 58 |
+
"missing_tokens": [],
|
| 59 |
+
"parse_format": null,
|
| 60 |
+
"impute_strategy": "median",
|
| 61 |
+
"profile_stats": {
|
| 62 |
+
"missing_rate": 0.0,
|
| 63 |
+
"unique_count": 256,
|
| 64 |
+
"unique_ratio": 0.001306,
|
| 65 |
+
"example_values": [
|
| 66 |
+
"123",
|
| 67 |
+
"186",
|
| 68 |
+
"60",
|
| 69 |
+
"221",
|
| 70 |
+
"0"
|
| 71 |
+
]
|
| 72 |
+
}
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"name": "target",
|
| 76 |
+
"role": "target",
|
| 77 |
+
"semantic_type": "numeric",
|
| 78 |
+
"nullable": false,
|
| 79 |
+
"missing_tokens": [],
|
| 80 |
+
"parse_format": null,
|
| 81 |
+
"impute_strategy": "median",
|
| 82 |
+
"profile_stats": {
|
| 83 |
+
"missing_rate": 0.0,
|
| 84 |
+
"unique_count": 2,
|
| 85 |
+
"unique_ratio": 1e-05,
|
| 86 |
+
"example_values": [
|
| 87 |
+
"1",
|
| 88 |
+
"2"
|
| 89 |
+
]
|
| 90 |
+
}
|
| 91 |
+
}
|
| 92 |
+
]
|
| 93 |
+
}
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/runtime_result.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"model": "bayesnet",
|
| 4 |
+
"run_id": "bayesnet-n12-20260422_060152",
|
| 5 |
+
"public_gate_status": "pass",
|
| 6 |
+
"adapter_ready_status": "pass",
|
| 7 |
+
"train_status": "success",
|
| 8 |
+
"generate_status": "success",
|
| 9 |
+
"reason_code": null,
|
| 10 |
+
"reason_detail": null,
|
| 11 |
+
"artifacts": {
|
| 12 |
+
"synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet-n12-196045-20260422_060234.csv",
|
| 13 |
+
"model_path": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/bayesnet_model.pkl"
|
| 14 |
+
}
|
| 15 |
+
}
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/staged/bayesnet/adapter_report.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"adapter_ready_status": "pass",
|
| 3 |
+
"adapter_fail_reason_code": null,
|
| 4 |
+
"adapter_fail_detail": null,
|
| 5 |
+
"adapter_transforms_applied": [],
|
| 6 |
+
"model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/staged/bayesnet/model_input_manifest.json"
|
| 7 |
+
}
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/staged/bayesnet/adapter_transforms_applied.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[]
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/staged/bayesnet/model_input_manifest.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"model": "bayesnet",
|
| 4 |
+
"target_column": "target",
|
| 5 |
+
"task_type": "classification",
|
| 6 |
+
"column_schema": [
|
| 7 |
+
{
|
| 8 |
+
"name": "feature_1",
|
| 9 |
+
"role": "feature",
|
| 10 |
+
"semantic_type": "numeric",
|
| 11 |
+
"nullable": false,
|
| 12 |
+
"missing_tokens": [],
|
| 13 |
+
"parse_format": null,
|
| 14 |
+
"impute_strategy": "median",
|
| 15 |
+
"profile_stats": {
|
| 16 |
+
"missing_rate": 0.0,
|
| 17 |
+
"unique_count": 256,
|
| 18 |
+
"unique_ratio": 0.001306,
|
| 19 |
+
"example_values": [
|
| 20 |
+
"74",
|
| 21 |
+
"14",
|
| 22 |
+
"115",
|
| 23 |
+
"130",
|
| 24 |
+
"5"
|
| 25 |
+
]
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"name": "feature_2",
|
| 30 |
+
"role": "feature",
|
| 31 |
+
"semantic_type": "numeric",
|
| 32 |
+
"nullable": false,
|
| 33 |
+
"missing_tokens": [],
|
| 34 |
+
"parse_format": null,
|
| 35 |
+
"impute_strategy": "median",
|
| 36 |
+
"profile_stats": {
|
| 37 |
+
"missing_rate": 0.0,
|
| 38 |
+
"unique_count": 256,
|
| 39 |
+
"unique_ratio": 0.001306,
|
| 40 |
+
"example_values": [
|
| 41 |
+
"85",
|
| 42 |
+
"5",
|
| 43 |
+
"116",
|
| 44 |
+
"169",
|
| 45 |
+
"4"
|
| 46 |
+
]
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": "feature_3",
|
| 51 |
+
"role": "feature",
|
| 52 |
+
"semantic_type": "numeric",
|
| 53 |
+
"nullable": false,
|
| 54 |
+
"missing_tokens": [],
|
| 55 |
+
"parse_format": null,
|
| 56 |
+
"impute_strategy": "median",
|
| 57 |
+
"profile_stats": {
|
| 58 |
+
"missing_rate": 0.0,
|
| 59 |
+
"unique_count": 256,
|
| 60 |
+
"unique_ratio": 0.001306,
|
| 61 |
+
"example_values": [
|
| 62 |
+
"123",
|
| 63 |
+
"186",
|
| 64 |
+
"60",
|
| 65 |
+
"221",
|
| 66 |
+
"0"
|
| 67 |
+
]
|
| 68 |
+
}
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"name": "target",
|
| 72 |
+
"role": "target",
|
| 73 |
+
"semantic_type": "numeric",
|
| 74 |
+
"nullable": false,
|
| 75 |
+
"missing_tokens": [],
|
| 76 |
+
"parse_format": null,
|
| 77 |
+
"impute_strategy": "median",
|
| 78 |
+
"profile_stats": {
|
| 79 |
+
"missing_rate": 0.0,
|
| 80 |
+
"unique_count": 2,
|
| 81 |
+
"unique_ratio": 1e-05,
|
| 82 |
+
"example_values": [
|
| 83 |
+
"1",
|
| 84 |
+
"2"
|
| 85 |
+
]
|
| 86 |
+
}
|
| 87 |
+
}
|
| 88 |
+
],
|
| 89 |
+
"public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/public_gate/staged_input_manifest.json",
|
| 90 |
+
"train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/train.csv",
|
| 91 |
+
"val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/val.csv",
|
| 92 |
+
"test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/test.csv",
|
| 93 |
+
"features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/staged_features.json",
|
| 94 |
+
"public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/n12/bayesnet/bayesnet-n12-20260422_060152/public_gate/public_gate_report.json"
|
| 95 |
+
}
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"feature_name": "feature_1",
|
| 4 |
+
"data_type": "continuous",
|
| 5 |
+
"is_target": false
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"feature_name": "feature_2",
|
| 9 |
+
"data_type": "continuous",
|
| 10 |
+
"is_target": false
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"feature_name": "feature_3",
|
| 14 |
+
"data_type": "continuous",
|
| 15 |
+
"is_target": false
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"feature_name": "target",
|
| 19 |
+
"data_type": "continuous",
|
| 20 |
+
"is_target": true
|
| 21 |
+
}
|
| 22 |
+
]
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4972eb2812d325c143ec99492afa470fe047141a9bdf34893ec0133a12b8dc26
|
| 3 |
+
size 315789
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:728fec9c0ec06ca4b292989614be4374c308d9a15b1e0002c3daeb3a68d5d350
|
| 3 |
+
size 2524420
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8931c0b2402466ccca41868fc484ab4bc6f627d68422570b20d47d1104922959
|
| 3 |
+
size 315663
|
syntheticSuccess/n12/bayesnet/bayesnet-n12-20260422_060152/train_20260422_060153.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:278b5f5c7ec8d1c3974ebfddc0d89077f78fd5355a37356854094965eace8f28
|
| 3 |
+
size 3559
|
syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/ctgan-n12-1000-20260328_113731.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4976b76798c6b3bba221c79b0e8045f4da43abf939e7565951d71b3851e8c183
|
| 3 |
+
size 12941
|
syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/ctgan-n12-196045-20260330_070542.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9a29ade016062777988399d01cc342f1c60a39161bca0f04d5804c0823c248a
|
| 3 |
+
size 2530036
|
syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/ctgan_metadata.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"columns": [
|
| 3 |
+
{
|
| 4 |
+
"name": "feature_1",
|
| 5 |
+
"type": "continuous"
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"name": "feature_2",
|
| 9 |
+
"type": "continuous"
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"name": "feature_3",
|
| 13 |
+
"type": "continuous"
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"name": "target",
|
| 17 |
+
"type": "continuous"
|
| 18 |
+
}
|
| 19 |
+
]
|
| 20 |
+
}
|
syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/gen_20260328_113731.log
ADDED
|
File without changes
|
syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/gen_20260330_070542.log
ADDED
|
File without changes
|
syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/input_snapshot.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"model": "ctgan",
|
| 4 |
+
"inputs": {
|
| 5 |
+
"train_csv": {
|
| 6 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-train.csv",
|
| 7 |
+
"exists": true,
|
| 8 |
+
"size": 2720466,
|
| 9 |
+
"sha256": "4c3e44750c769fb56cd6224e07240585091e57a4786f4bbd4b914826fe9eedb2"
|
| 10 |
+
},
|
| 11 |
+
"val_csv": {
|
| 12 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-val.csv",
|
| 13 |
+
"exists": true,
|
| 14 |
+
"size": 340170,
|
| 15 |
+
"sha256": "761692b00c3ad9e4f07dd51f386f4d42ab2b68ed91f741cd850981f7f5b58fd5"
|
| 16 |
+
},
|
| 17 |
+
"test_csv": {
|
| 18 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-test.csv",
|
| 19 |
+
"exists": true,
|
| 20 |
+
"size": 340296,
|
| 21 |
+
"sha256": "6531e89976491f6fb7d02635a2e934e058c1bb15faaf5debc7052fbe5d0b8b81"
|
| 22 |
+
},
|
| 23 |
+
"profile_json": {
|
| 24 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n12/n12-dataset_profile.json",
|
| 25 |
+
"exists": true,
|
| 26 |
+
"size": 2302,
|
| 27 |
+
"sha256": "d4fe8e20de077a2855d2af5dd1e73126e04bf2a0741e28ff80368983f126319b"
|
| 28 |
+
},
|
| 29 |
+
"contract_json": {
|
| 30 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/n12/n12-dataset_contract_v1.json",
|
| 31 |
+
"exists": true,
|
| 32 |
+
"size": 2472,
|
| 33 |
+
"sha256": "856639afabf103741f49f84eac0546ba3f4f3d2258fa3016263682d164e78a7a"
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
}
|
syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/models_300epochs/ctgan_300epochs.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5070a16c79ce0c1d33eba78816d6e680bb8612a82b5aedcb360668fb367c7acc
|
| 3 |
+
size 773667
|
syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/models_300epochs/train_20260328_054311.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e08d9cbaac7315c19cc6ffbb125e1699401614927b4f27c0faf3272174fc6602
|
| 3 |
+
size 372
|
syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"target_column": "target",
|
| 4 |
+
"task_type": "classification",
|
| 5 |
+
"columns": [
|
| 6 |
+
{
|
| 7 |
+
"name": "feature_1",
|
| 8 |
+
"role": "feature",
|
| 9 |
+
"semantic_type": "numeric",
|
| 10 |
+
"nullable": false,
|
| 11 |
+
"missing_tokens": [],
|
| 12 |
+
"parse_format": null,
|
| 13 |
+
"impute_strategy": "median",
|
| 14 |
+
"profile_stats": {
|
| 15 |
+
"missing_rate": 0.0,
|
| 16 |
+
"unique_count": 256,
|
| 17 |
+
"unique_ratio": 0.001306,
|
| 18 |
+
"example_values": [
|
| 19 |
+
"74",
|
| 20 |
+
"14",
|
| 21 |
+
"115",
|
| 22 |
+
"130",
|
| 23 |
+
"5"
|
| 24 |
+
]
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"name": "feature_2",
|
| 29 |
+
"role": "feature",
|
| 30 |
+
"semantic_type": "numeric",
|
| 31 |
+
"nullable": false,
|
| 32 |
+
"missing_tokens": [],
|
| 33 |
+
"parse_format": null,
|
| 34 |
+
"impute_strategy": "median",
|
| 35 |
+
"profile_stats": {
|
| 36 |
+
"missing_rate": 0.0,
|
| 37 |
+
"unique_count": 256,
|
| 38 |
+
"unique_ratio": 0.001306,
|
| 39 |
+
"example_values": [
|
| 40 |
+
"85",
|
| 41 |
+
"5",
|
| 42 |
+
"116",
|
| 43 |
+
"169",
|
| 44 |
+
"4"
|
| 45 |
+
]
|
| 46 |
+
}
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": "feature_3",
|
| 50 |
+
"role": "feature",
|
| 51 |
+
"semantic_type": "numeric",
|
| 52 |
+
"nullable": false,
|
| 53 |
+
"missing_tokens": [],
|
| 54 |
+
"parse_format": null,
|
| 55 |
+
"impute_strategy": "median",
|
| 56 |
+
"profile_stats": {
|
| 57 |
+
"missing_rate": 0.0,
|
| 58 |
+
"unique_count": 256,
|
| 59 |
+
"unique_ratio": 0.001306,
|
| 60 |
+
"example_values": [
|
| 61 |
+
"123",
|
| 62 |
+
"186",
|
| 63 |
+
"60",
|
| 64 |
+
"221",
|
| 65 |
+
"0"
|
| 66 |
+
]
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"name": "target",
|
| 71 |
+
"role": "target",
|
| 72 |
+
"semantic_type": "numeric",
|
| 73 |
+
"nullable": false,
|
| 74 |
+
"missing_tokens": [],
|
| 75 |
+
"parse_format": null,
|
| 76 |
+
"impute_strategy": "median",
|
| 77 |
+
"profile_stats": {
|
| 78 |
+
"missing_rate": 0.0,
|
| 79 |
+
"unique_count": 2,
|
| 80 |
+
"unique_ratio": 1e-05,
|
| 81 |
+
"example_values": [
|
| 82 |
+
"1",
|
| 83 |
+
"2"
|
| 84 |
+
]
|
| 85 |
+
}
|
| 86 |
+
}
|
| 87 |
+
]
|
| 88 |
+
}
|
syntheticSuccess/n12/ctgan/ctgan-n12-20260328_054309/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "n12",
|
| 3 |
+
"status": "pass",
|
| 4 |
+
"checks": [
|
| 5 |
+
{
|
| 6 |
+
"check_id": "PG001_csv_parse_ok",
|
| 7 |
+
"status": "pass"
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"check_id": "PG002_split_header_consistent",
|
| 11 |
+
"status": "pass"
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"check_id": "PG003_profile_header_match",
|
| 15 |
+
"status": "pass"
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"check_id": "PG004_missing_token_normalized",
|
| 19 |
+
"status": "pass"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"check_id": "PG005_semantic_type_validated",
|
| 23 |
+
"status": "pass"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"check_id": "PG006_target_defined_and_valid",
|
| 27 |
+
"status": "pass"
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"target_column": "target",
|
| 31 |
+
"task_type": "classification",
|
| 32 |
+
"input_splits": {
|
| 33 |
+
"train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-train.csv",
|
| 34 |
+
"val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-val.csv",
|
| 35 |
+
"test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/n12/n12-test.csv"
|
| 36 |
+
}
|
| 37 |
+
}
|