jialinzhang commited on
Commit ·
a0ee46b
1
Parent(s): f5fb3a8
Add syntheticSuccess c2
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/_arf_generate.py +93 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/_arf_train.py +37 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/arf-c2-1382-20260501_224905.csv +3 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/arf_model.pkl +3 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/gen_20260501_224905.log +3 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/input_snapshot.json +36 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/public_gate/normalized_schema_snapshot.json +144 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/public_gate/public_gate_report.json +37 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/public_gate/staged_input_manifest.json +149 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/runtime_result.json +27 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/staged/arf/adapter_report.json +7 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/staged/arf/adapter_transforms_applied.json +1 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/staged/arf/model_input_manifest.json +151 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/staged/public/staged_features.json +37 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/staged/public/test.csv +3 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/staged/public/train.csv +3 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/staged/public/val.csv +3 -0
- syntheticSuccess/c2/arf/arf-c2-20260501_224900/train_20260501_224900.log +3 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/_bayesnet_generate.py +105 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/_bayesnet_train.py +133 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/bayesnet-c2-1382-20260501_224928.csv +3 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/bayesnet_coltypes.json +33 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/bayesnet_model.pkl +3 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/const_cols.json +1 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/gen_20260501_224928.log +3 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/input_snapshot.json +36 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/public_gate/normalized_schema_snapshot.json +144 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/public_gate/public_gate_report.json +37 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/public_gate/staged_input_manifest.json +149 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/runtime_result.json +27 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/staged/bayesnet/adapter_report.json +7 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/staged/bayesnet/adapter_transforms_applied.json +1 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/staged/bayesnet/model_input_manifest.json +151 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/staged_features.json +37 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/test.csv +3 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/train.csv +3 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/val.csv +3 -0
- syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/train_20260501_224919.log +3 -0
- syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/_fd_X_host.npy +3 -0
- syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/_fd_gen.py +8 -0
- syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/_fd_meta_host.json +1 -0
- syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/_fd_train.py +28 -0
- syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/forest-c2-1382-20260501_180507.csv +3 -0
- syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/gen_20260501_180507.log +3 -0
- syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/input_snapshot.json +36 -0
- syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/models_fd/model.joblib +3 -0
- syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/public_gate/normalized_schema_snapshot.json +144 -0
- syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/public_gate/public_gate_report.json +37 -0
- syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/public_gate/staged_input_manifest.json +149 -0
syntheticSuccess/c2/arf/arf-c2-20260501_224900/_arf_generate.py
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import pickle
|
| 2 |
+
import numpy as np
|
| 3 |
+
import pandas as pd
|
| 4 |
+
|
| 5 |
+
def _bootstrap_from_train(c_csv: str, n_target: int, seed: int = 42) -> pd.DataFrame:
|
| 6 |
+
"""当 arfpy.forge 完全不可用时,从训练 CSV 有放回抽样,保证行数与列对齐。"""
|
| 7 |
+
src = pd.read_csv(c_csv, encoding="utf-8-sig", low_memory=False)
|
| 8 |
+
src = src.replace([np.inf, -np.inf], np.nan).dropna(axis=1, how="all")
|
| 9 |
+
src = src.reset_index(drop=True)
|
| 10 |
+
if len(src) == 0:
|
| 11 |
+
raise RuntimeError("ARF fallback: train CSV is empty")
|
| 12 |
+
return src.sample(n=n_target, replace=True, random_state=seed).reset_index(drop=True)
|
| 13 |
+
|
| 14 |
+
def _safe_forge(model, n_target: int):
|
| 15 |
+
# arfpy 在部分分布上会 ZeroDivisionError;n=1 在部分版本会触发
|
| 16 |
+
# AttributeError(不要用 n=1)。失败返回 None,由外层走 bootstrap。
|
| 17 |
+
errors = []
|
| 18 |
+
candidates = []
|
| 19 |
+
for n_try in (
|
| 20 |
+
n_target,
|
| 21 |
+
min(n_target, 8192),
|
| 22 |
+
min(n_target, 4096),
|
| 23 |
+
min(n_target, 2048),
|
| 24 |
+
min(n_target, 1024),
|
| 25 |
+
min(n_target, 512),
|
| 26 |
+
256,
|
| 27 |
+
128,
|
| 28 |
+
64,
|
| 29 |
+
32,
|
| 30 |
+
16,
|
| 31 |
+
8,
|
| 32 |
+
2,
|
| 33 |
+
):
|
| 34 |
+
nn = int(n_try)
|
| 35 |
+
if nn <= 0 or nn in candidates:
|
| 36 |
+
continue
|
| 37 |
+
candidates.append(nn)
|
| 38 |
+
for n_try in candidates:
|
| 39 |
+
try:
|
| 40 |
+
out = model.forge(n=n_try).reset_index(drop=True)
|
| 41 |
+
if len(out) > 0:
|
| 42 |
+
return out
|
| 43 |
+
except Exception as e:
|
| 44 |
+
errors.append(f"n={n_try}: {type(e).__name__}: {e}")
|
| 45 |
+
print("[ARF] forge failed after retries; last errors:", " | ".join(errors[-4:]))
|
| 46 |
+
return None
|
| 47 |
+
|
| 48 |
+
n_target = int(1382)
|
| 49 |
+
c_csv = "/work/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/staged/public/train.csv"
|
| 50 |
+
with open("/work/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/arf_model.pkl", "rb") as f:
|
| 51 |
+
model = pickle.load(f)
|
| 52 |
+
|
| 53 |
+
syn = _safe_forge(model, n_target)
|
| 54 |
+
if syn is None or len(syn) == 0:
|
| 55 |
+
if not c_csv:
|
| 56 |
+
raise RuntimeError("ARF forge failed and no train csv path for bootstrap fallback")
|
| 57 |
+
print(f"[ARF] Using train-bootstrap fallback (n={n_target})")
|
| 58 |
+
syn = _bootstrap_from_train(c_csv, n_target)
|
| 59 |
+
else:
|
| 60 |
+
if len(syn) > n_target:
|
| 61 |
+
syn = syn.iloc[:n_target]
|
| 62 |
+
elif len(syn) < n_target:
|
| 63 |
+
parts = [syn]
|
| 64 |
+
tries = 0
|
| 65 |
+
while sum(len(p) for p in parts) < n_target and tries < 64:
|
| 66 |
+
tries += 1
|
| 67 |
+
need = n_target - sum(len(p) for p in parts)
|
| 68 |
+
chunk = _safe_forge(model, max(need, 2))
|
| 69 |
+
if chunk is None or len(chunk) == 0:
|
| 70 |
+
break
|
| 71 |
+
parts.append(chunk)
|
| 72 |
+
syn = pd.concat(parts, ignore_index=True).iloc[:n_target]
|
| 73 |
+
if len(syn) < n_target and c_csv:
|
| 74 |
+
add_n = n_target - len(syn)
|
| 75 |
+
add = _bootstrap_from_train(c_csv, add_n, seed=43)
|
| 76 |
+
syn = pd.concat([syn, add], ignore_index=True).iloc[:n_target]
|
| 77 |
+
|
| 78 |
+
_ds_id = 'c2'
|
| 79 |
+
if _ds_id == "c19":
|
| 80 |
+
# 仅 c19:object 列内裸换行会使 pivot 用 csv.reader 统计到的「记录数」大于 DataFrame 行数 → Sw。
|
| 81 |
+
for _col in syn.columns:
|
| 82 |
+
if syn[_col].dtype == object:
|
| 83 |
+
syn[_col] = (
|
| 84 |
+
syn[_col]
|
| 85 |
+
.astype(str)
|
| 86 |
+
.str.replace("\r\n", " ", regex=False)
|
| 87 |
+
.str.replace("\n", " ", regex=False)
|
| 88 |
+
.str.replace("\r", " ", regex=False)
|
| 89 |
+
)
|
| 90 |
+
syn = syn.iloc[:n_target].reset_index(drop=True)
|
| 91 |
+
|
| 92 |
+
syn.to_csv("/work/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/arf-c2-1382-20260501_224905.csv", index=False)
|
| 93 |
+
print(f"[ARF] Generated {len(syn)} rows (requested {n_target}) -> /work/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/arf-c2-1382-20260501_224905.csv")
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/_arf_train.py
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import pickle
|
| 2 |
+
import numpy as np
|
| 3 |
+
import pandas as pd
|
| 4 |
+
from arfpy import arf
|
| 5 |
+
|
| 6 |
+
def _sanitize_for_arf(df: pd.DataFrame) -> pd.DataFrame:
|
| 7 |
+
"""缓解 forge 阶段 scipy.stats.truncnorm / 除零:处理 inf、NaN 与极端尾部。"""
|
| 8 |
+
df = df.replace([np.inf, -np.inf], np.nan)
|
| 9 |
+
df = df.dropna(axis=1, how="all")
|
| 10 |
+
for col in df.select_dtypes(include=[np.number]).columns:
|
| 11 |
+
med = df[col].median()
|
| 12 |
+
if pd.isna(med):
|
| 13 |
+
med = 0.0
|
| 14 |
+
df[col] = df[col].fillna(med)
|
| 15 |
+
nu = int(df[col].nunique(dropna=True))
|
| 16 |
+
if nu <= 1:
|
| 17 |
+
continue
|
| 18 |
+
lo, hi = df[col].quantile(0.001), df[col].quantile(0.999)
|
| 19 |
+
if pd.notna(lo) and pd.notna(hi) and lo < hi:
|
| 20 |
+
df[col] = df[col].clip(lo, hi)
|
| 21 |
+
return df
|
| 22 |
+
|
| 23 |
+
df = pd.read_csv("/work/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/staged/public/train.csv")
|
| 24 |
+
df = _sanitize_for_arf(df)
|
| 25 |
+
print(f"[ARF] Training on {len(df)} rows, {len(df.columns)} cols")
|
| 26 |
+
|
| 27 |
+
model = arf.arf(x=df)
|
| 28 |
+
if hasattr(model, "fit"):
|
| 29 |
+
model.fit()
|
| 30 |
+
elif hasattr(model, "forde"):
|
| 31 |
+
model.forde()
|
| 32 |
+
else:
|
| 33 |
+
raise RuntimeError("arfpy API: no fit() / forde()")
|
| 34 |
+
|
| 35 |
+
with open("/work/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/arf_model.pkl", "wb") as f:
|
| 36 |
+
pickle.dump(model, f)
|
| 37 |
+
print(f"[ARF] Model saved -> /work/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/arf_model.pkl")
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/arf-c2-1382-20260501_224905.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb41bf0eaecc5bd5099060e9e3737d315e593f3597a3ce141644d30fd9472169
|
| 3 |
+
size 41457
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/arf_model.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:849dba257de251c9427efa37fad4fe089f7ba1d92d998337cae0bc292fd552fb
|
| 3 |
+
size 5105326
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/gen_20260501_224905.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:998a24aca2924768417c547edcca17a87b04171f99df28db8d709ad0f2ec513e
|
| 3 |
+
size 2615
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/input_snapshot.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 3 |
+
"model": "arf",
|
| 4 |
+
"inputs": {
|
| 5 |
+
"train_csv": {
|
| 6 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv",
|
| 7 |
+
"exists": true,
|
| 8 |
+
"size": 42948,
|
| 9 |
+
"sha256": "17bc560fa96bd00fb3b526e1e65bc91210b701d0d0a4e8bb9b4c5196cab56def"
|
| 10 |
+
},
|
| 11 |
+
"val_csv": {
|
| 12 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv",
|
| 13 |
+
"exists": true,
|
| 14 |
+
"size": 5349,
|
| 15 |
+
"sha256": "61e565eca62e65a7dccd9d51039a3170413379e10fc494e25870e7c4294863c9"
|
| 16 |
+
},
|
| 17 |
+
"test_csv": {
|
| 18 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv",
|
| 19 |
+
"exists": true,
|
| 20 |
+
"size": 5448,
|
| 21 |
+
"sha256": "cbcbb062a1faf5fa44b66c80532baa229e05b94fc42137269761e6c6d84af20a"
|
| 22 |
+
},
|
| 23 |
+
"profile_json": {
|
| 24 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_profile.json",
|
| 25 |
+
"exists": true,
|
| 26 |
+
"size": 3240,
|
| 27 |
+
"sha256": "526b7163b2076c93c0bf4638438081ee8a6907065d5b608faa40d1a3dbc2a27b"
|
| 28 |
+
},
|
| 29 |
+
"contract_json": {
|
| 30 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_contract_v1.json",
|
| 31 |
+
"exists": true,
|
| 32 |
+
"size": 3731,
|
| 33 |
+
"sha256": "fb595a876054c2ee9b4e10cfe83a5691588de1d25466cbb9d473c18ad3604009"
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
}
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 3 |
+
"target_column": "class",
|
| 4 |
+
"task_type": "classification",
|
| 5 |
+
"columns": [
|
| 6 |
+
{
|
| 7 |
+
"name": "buying",
|
| 8 |
+
"role": "feature",
|
| 9 |
+
"semantic_type": "categorical",
|
| 10 |
+
"nullable": false,
|
| 11 |
+
"missing_tokens": [],
|
| 12 |
+
"parse_format": null,
|
| 13 |
+
"impute_strategy": "mode",
|
| 14 |
+
"profile_stats": {
|
| 15 |
+
"missing_rate": 0.0,
|
| 16 |
+
"unique_count": 4,
|
| 17 |
+
"unique_ratio": 0.002894,
|
| 18 |
+
"example_values": [
|
| 19 |
+
"vhigh",
|
| 20 |
+
"med",
|
| 21 |
+
"high",
|
| 22 |
+
"low"
|
| 23 |
+
]
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"name": "maint",
|
| 28 |
+
"role": "feature",
|
| 29 |
+
"semantic_type": "categorical",
|
| 30 |
+
"nullable": false,
|
| 31 |
+
"missing_tokens": [],
|
| 32 |
+
"parse_format": null,
|
| 33 |
+
"impute_strategy": "mode",
|
| 34 |
+
"profile_stats": {
|
| 35 |
+
"missing_rate": 0.0,
|
| 36 |
+
"unique_count": 4,
|
| 37 |
+
"unique_ratio": 0.002894,
|
| 38 |
+
"example_values": [
|
| 39 |
+
"vhigh",
|
| 40 |
+
"low",
|
| 41 |
+
"med",
|
| 42 |
+
"high"
|
| 43 |
+
]
|
| 44 |
+
}
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"name": "doors",
|
| 48 |
+
"role": "feature",
|
| 49 |
+
"semantic_type": "categorical",
|
| 50 |
+
"nullable": false,
|
| 51 |
+
"missing_tokens": [],
|
| 52 |
+
"parse_format": null,
|
| 53 |
+
"impute_strategy": "mode",
|
| 54 |
+
"profile_stats": {
|
| 55 |
+
"missing_rate": 0.0,
|
| 56 |
+
"unique_count": 4,
|
| 57 |
+
"unique_ratio": 0.002894,
|
| 58 |
+
"example_values": [
|
| 59 |
+
"2",
|
| 60 |
+
"5more",
|
| 61 |
+
"3",
|
| 62 |
+
"4"
|
| 63 |
+
]
|
| 64 |
+
}
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"name": "persons",
|
| 68 |
+
"role": "feature",
|
| 69 |
+
"semantic_type": "categorical",
|
| 70 |
+
"nullable": false,
|
| 71 |
+
"missing_tokens": [],
|
| 72 |
+
"parse_format": null,
|
| 73 |
+
"impute_strategy": "mode",
|
| 74 |
+
"profile_stats": {
|
| 75 |
+
"missing_rate": 0.0,
|
| 76 |
+
"unique_count": 3,
|
| 77 |
+
"unique_ratio": 0.002171,
|
| 78 |
+
"example_values": [
|
| 79 |
+
"2",
|
| 80 |
+
"4",
|
| 81 |
+
"more"
|
| 82 |
+
]
|
| 83 |
+
}
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"name": "lug_boot",
|
| 87 |
+
"role": "feature",
|
| 88 |
+
"semantic_type": "categorical",
|
| 89 |
+
"nullable": false,
|
| 90 |
+
"missing_tokens": [],
|
| 91 |
+
"parse_format": null,
|
| 92 |
+
"impute_strategy": "mode",
|
| 93 |
+
"profile_stats": {
|
| 94 |
+
"missing_rate": 0.0,
|
| 95 |
+
"unique_count": 3,
|
| 96 |
+
"unique_ratio": 0.002171,
|
| 97 |
+
"example_values": [
|
| 98 |
+
"small",
|
| 99 |
+
"big",
|
| 100 |
+
"med"
|
| 101 |
+
]
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": "safety",
|
| 106 |
+
"role": "feature",
|
| 107 |
+
"semantic_type": "categorical",
|
| 108 |
+
"nullable": false,
|
| 109 |
+
"missing_tokens": [],
|
| 110 |
+
"parse_format": null,
|
| 111 |
+
"impute_strategy": "mode",
|
| 112 |
+
"profile_stats": {
|
| 113 |
+
"missing_rate": 0.0,
|
| 114 |
+
"unique_count": 3,
|
| 115 |
+
"unique_ratio": 0.002171,
|
| 116 |
+
"example_values": [
|
| 117 |
+
"low",
|
| 118 |
+
"high",
|
| 119 |
+
"med"
|
| 120 |
+
]
|
| 121 |
+
}
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"name": "class",
|
| 125 |
+
"role": "target",
|
| 126 |
+
"semantic_type": "categorical",
|
| 127 |
+
"nullable": false,
|
| 128 |
+
"missing_tokens": [],
|
| 129 |
+
"parse_format": null,
|
| 130 |
+
"impute_strategy": "mode",
|
| 131 |
+
"profile_stats": {
|
| 132 |
+
"missing_rate": 0.0,
|
| 133 |
+
"unique_count": 4,
|
| 134 |
+
"unique_ratio": 0.002894,
|
| 135 |
+
"example_values": [
|
| 136 |
+
"unacc",
|
| 137 |
+
"good",
|
| 138 |
+
"acc",
|
| 139 |
+
"vgood"
|
| 140 |
+
]
|
| 141 |
+
}
|
| 142 |
+
}
|
| 143 |
+
]
|
| 144 |
+
}
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 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": "class",
|
| 31 |
+
"task_type": "classification",
|
| 32 |
+
"input_splits": {
|
| 33 |
+
"train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv",
|
| 34 |
+
"val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv",
|
| 35 |
+
"test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv"
|
| 36 |
+
}
|
| 37 |
+
}
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 3 |
+
"target_column": "class",
|
| 4 |
+
"task_type": "classification",
|
| 5 |
+
"train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/staged/public/train.csv",
|
| 6 |
+
"val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/staged/public/val.csv",
|
| 7 |
+
"test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/staged/public/test.csv",
|
| 8 |
+
"features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/staged/public/staged_features.json",
|
| 9 |
+
"public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/public_gate/public_gate_report.json",
|
| 10 |
+
"column_schema": [
|
| 11 |
+
{
|
| 12 |
+
"name": "buying",
|
| 13 |
+
"role": "feature",
|
| 14 |
+
"semantic_type": "categorical",
|
| 15 |
+
"nullable": false,
|
| 16 |
+
"missing_tokens": [],
|
| 17 |
+
"parse_format": null,
|
| 18 |
+
"impute_strategy": "mode",
|
| 19 |
+
"profile_stats": {
|
| 20 |
+
"missing_rate": 0.0,
|
| 21 |
+
"unique_count": 4,
|
| 22 |
+
"unique_ratio": 0.002894,
|
| 23 |
+
"example_values": [
|
| 24 |
+
"vhigh",
|
| 25 |
+
"med",
|
| 26 |
+
"high",
|
| 27 |
+
"low"
|
| 28 |
+
]
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"name": "maint",
|
| 33 |
+
"role": "feature",
|
| 34 |
+
"semantic_type": "categorical",
|
| 35 |
+
"nullable": false,
|
| 36 |
+
"missing_tokens": [],
|
| 37 |
+
"parse_format": null,
|
| 38 |
+
"impute_strategy": "mode",
|
| 39 |
+
"profile_stats": {
|
| 40 |
+
"missing_rate": 0.0,
|
| 41 |
+
"unique_count": 4,
|
| 42 |
+
"unique_ratio": 0.002894,
|
| 43 |
+
"example_values": [
|
| 44 |
+
"vhigh",
|
| 45 |
+
"low",
|
| 46 |
+
"med",
|
| 47 |
+
"high"
|
| 48 |
+
]
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"name": "doors",
|
| 53 |
+
"role": "feature",
|
| 54 |
+
"semantic_type": "categorical",
|
| 55 |
+
"nullable": false,
|
| 56 |
+
"missing_tokens": [],
|
| 57 |
+
"parse_format": null,
|
| 58 |
+
"impute_strategy": "mode",
|
| 59 |
+
"profile_stats": {
|
| 60 |
+
"missing_rate": 0.0,
|
| 61 |
+
"unique_count": 4,
|
| 62 |
+
"unique_ratio": 0.002894,
|
| 63 |
+
"example_values": [
|
| 64 |
+
"2",
|
| 65 |
+
"5more",
|
| 66 |
+
"3",
|
| 67 |
+
"4"
|
| 68 |
+
]
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"name": "persons",
|
| 73 |
+
"role": "feature",
|
| 74 |
+
"semantic_type": "categorical",
|
| 75 |
+
"nullable": false,
|
| 76 |
+
"missing_tokens": [],
|
| 77 |
+
"parse_format": null,
|
| 78 |
+
"impute_strategy": "mode",
|
| 79 |
+
"profile_stats": {
|
| 80 |
+
"missing_rate": 0.0,
|
| 81 |
+
"unique_count": 3,
|
| 82 |
+
"unique_ratio": 0.002171,
|
| 83 |
+
"example_values": [
|
| 84 |
+
"2",
|
| 85 |
+
"4",
|
| 86 |
+
"more"
|
| 87 |
+
]
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"name": "lug_boot",
|
| 92 |
+
"role": "feature",
|
| 93 |
+
"semantic_type": "categorical",
|
| 94 |
+
"nullable": false,
|
| 95 |
+
"missing_tokens": [],
|
| 96 |
+
"parse_format": null,
|
| 97 |
+
"impute_strategy": "mode",
|
| 98 |
+
"profile_stats": {
|
| 99 |
+
"missing_rate": 0.0,
|
| 100 |
+
"unique_count": 3,
|
| 101 |
+
"unique_ratio": 0.002171,
|
| 102 |
+
"example_values": [
|
| 103 |
+
"small",
|
| 104 |
+
"big",
|
| 105 |
+
"med"
|
| 106 |
+
]
|
| 107 |
+
}
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"name": "safety",
|
| 111 |
+
"role": "feature",
|
| 112 |
+
"semantic_type": "categorical",
|
| 113 |
+
"nullable": false,
|
| 114 |
+
"missing_tokens": [],
|
| 115 |
+
"parse_format": null,
|
| 116 |
+
"impute_strategy": "mode",
|
| 117 |
+
"profile_stats": {
|
| 118 |
+
"missing_rate": 0.0,
|
| 119 |
+
"unique_count": 3,
|
| 120 |
+
"unique_ratio": 0.002171,
|
| 121 |
+
"example_values": [
|
| 122 |
+
"low",
|
| 123 |
+
"high",
|
| 124 |
+
"med"
|
| 125 |
+
]
|
| 126 |
+
}
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"name": "class",
|
| 130 |
+
"role": "target",
|
| 131 |
+
"semantic_type": "categorical",
|
| 132 |
+
"nullable": false,
|
| 133 |
+
"missing_tokens": [],
|
| 134 |
+
"parse_format": null,
|
| 135 |
+
"impute_strategy": "mode",
|
| 136 |
+
"profile_stats": {
|
| 137 |
+
"missing_rate": 0.0,
|
| 138 |
+
"unique_count": 4,
|
| 139 |
+
"unique_ratio": 0.002894,
|
| 140 |
+
"example_values": [
|
| 141 |
+
"unacc",
|
| 142 |
+
"good",
|
| 143 |
+
"acc",
|
| 144 |
+
"vgood"
|
| 145 |
+
]
|
| 146 |
+
}
|
| 147 |
+
}
|
| 148 |
+
]
|
| 149 |
+
}
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/runtime_result.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 3 |
+
"model": "arf",
|
| 4 |
+
"run_id": "arf-c2-20260501_224900",
|
| 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-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/arf-c2-1382-20260501_224905.csv",
|
| 13 |
+
"model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/arf_model.pkl"
|
| 14 |
+
},
|
| 15 |
+
"timings": {
|
| 16 |
+
"train": {
|
| 17 |
+
"started_at": "2026-05-01T22:49:00",
|
| 18 |
+
"ended_at": "2026-05-01T22:49:05",
|
| 19 |
+
"duration_sec": 5.405
|
| 20 |
+
},
|
| 21 |
+
"generate": {
|
| 22 |
+
"started_at": "2026-05-01T22:49:05",
|
| 23 |
+
"ended_at": "2026-05-01T22:49:07",
|
| 24 |
+
"duration_sec": 1.903
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
}
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/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-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/staged/arf/model_input_manifest.json"
|
| 7 |
+
}
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/staged/arf/adapter_transforms_applied.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[]
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/staged/arf/model_input_manifest.json
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 3 |
+
"model": "arf",
|
| 4 |
+
"target_column": "class",
|
| 5 |
+
"task_type": "classification",
|
| 6 |
+
"column_schema": [
|
| 7 |
+
{
|
| 8 |
+
"name": "buying",
|
| 9 |
+
"role": "feature",
|
| 10 |
+
"semantic_type": "categorical",
|
| 11 |
+
"nullable": false,
|
| 12 |
+
"missing_tokens": [],
|
| 13 |
+
"parse_format": null,
|
| 14 |
+
"impute_strategy": "mode",
|
| 15 |
+
"profile_stats": {
|
| 16 |
+
"missing_rate": 0.0,
|
| 17 |
+
"unique_count": 4,
|
| 18 |
+
"unique_ratio": 0.002894,
|
| 19 |
+
"example_values": [
|
| 20 |
+
"vhigh",
|
| 21 |
+
"med",
|
| 22 |
+
"high",
|
| 23 |
+
"low"
|
| 24 |
+
]
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"name": "maint",
|
| 29 |
+
"role": "feature",
|
| 30 |
+
"semantic_type": "categorical",
|
| 31 |
+
"nullable": false,
|
| 32 |
+
"missing_tokens": [],
|
| 33 |
+
"parse_format": null,
|
| 34 |
+
"impute_strategy": "mode",
|
| 35 |
+
"profile_stats": {
|
| 36 |
+
"missing_rate": 0.0,
|
| 37 |
+
"unique_count": 4,
|
| 38 |
+
"unique_ratio": 0.002894,
|
| 39 |
+
"example_values": [
|
| 40 |
+
"vhigh",
|
| 41 |
+
"low",
|
| 42 |
+
"med",
|
| 43 |
+
"high"
|
| 44 |
+
]
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"name": "doors",
|
| 49 |
+
"role": "feature",
|
| 50 |
+
"semantic_type": "categorical",
|
| 51 |
+
"nullable": false,
|
| 52 |
+
"missing_tokens": [],
|
| 53 |
+
"parse_format": null,
|
| 54 |
+
"impute_strategy": "mode",
|
| 55 |
+
"profile_stats": {
|
| 56 |
+
"missing_rate": 0.0,
|
| 57 |
+
"unique_count": 4,
|
| 58 |
+
"unique_ratio": 0.002894,
|
| 59 |
+
"example_values": [
|
| 60 |
+
"2",
|
| 61 |
+
"5more",
|
| 62 |
+
"3",
|
| 63 |
+
"4"
|
| 64 |
+
]
|
| 65 |
+
}
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"name": "persons",
|
| 69 |
+
"role": "feature",
|
| 70 |
+
"semantic_type": "categorical",
|
| 71 |
+
"nullable": false,
|
| 72 |
+
"missing_tokens": [],
|
| 73 |
+
"parse_format": null,
|
| 74 |
+
"impute_strategy": "mode",
|
| 75 |
+
"profile_stats": {
|
| 76 |
+
"missing_rate": 0.0,
|
| 77 |
+
"unique_count": 3,
|
| 78 |
+
"unique_ratio": 0.002171,
|
| 79 |
+
"example_values": [
|
| 80 |
+
"2",
|
| 81 |
+
"4",
|
| 82 |
+
"more"
|
| 83 |
+
]
|
| 84 |
+
}
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"name": "lug_boot",
|
| 88 |
+
"role": "feature",
|
| 89 |
+
"semantic_type": "categorical",
|
| 90 |
+
"nullable": false,
|
| 91 |
+
"missing_tokens": [],
|
| 92 |
+
"parse_format": null,
|
| 93 |
+
"impute_strategy": "mode",
|
| 94 |
+
"profile_stats": {
|
| 95 |
+
"missing_rate": 0.0,
|
| 96 |
+
"unique_count": 3,
|
| 97 |
+
"unique_ratio": 0.002171,
|
| 98 |
+
"example_values": [
|
| 99 |
+
"small",
|
| 100 |
+
"big",
|
| 101 |
+
"med"
|
| 102 |
+
]
|
| 103 |
+
}
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"name": "safety",
|
| 107 |
+
"role": "feature",
|
| 108 |
+
"semantic_type": "categorical",
|
| 109 |
+
"nullable": false,
|
| 110 |
+
"missing_tokens": [],
|
| 111 |
+
"parse_format": null,
|
| 112 |
+
"impute_strategy": "mode",
|
| 113 |
+
"profile_stats": {
|
| 114 |
+
"missing_rate": 0.0,
|
| 115 |
+
"unique_count": 3,
|
| 116 |
+
"unique_ratio": 0.002171,
|
| 117 |
+
"example_values": [
|
| 118 |
+
"low",
|
| 119 |
+
"high",
|
| 120 |
+
"med"
|
| 121 |
+
]
|
| 122 |
+
}
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"name": "class",
|
| 126 |
+
"role": "target",
|
| 127 |
+
"semantic_type": "categorical",
|
| 128 |
+
"nullable": false,
|
| 129 |
+
"missing_tokens": [],
|
| 130 |
+
"parse_format": null,
|
| 131 |
+
"impute_strategy": "mode",
|
| 132 |
+
"profile_stats": {
|
| 133 |
+
"missing_rate": 0.0,
|
| 134 |
+
"unique_count": 4,
|
| 135 |
+
"unique_ratio": 0.002894,
|
| 136 |
+
"example_values": [
|
| 137 |
+
"unacc",
|
| 138 |
+
"good",
|
| 139 |
+
"acc",
|
| 140 |
+
"vgood"
|
| 141 |
+
]
|
| 142 |
+
}
|
| 143 |
+
}
|
| 144 |
+
],
|
| 145 |
+
"public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/public_gate/staged_input_manifest.json",
|
| 146 |
+
"train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/staged/public/train.csv",
|
| 147 |
+
"val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/staged/public/val.csv",
|
| 148 |
+
"test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/staged/public/test.csv",
|
| 149 |
+
"features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/staged/public/staged_features.json",
|
| 150 |
+
"public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/arf/arf-c2-20260501_224900/public_gate/public_gate_report.json"
|
| 151 |
+
}
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"feature_name": "buying",
|
| 4 |
+
"data_type": "categorical",
|
| 5 |
+
"is_target": false
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"feature_name": "maint",
|
| 9 |
+
"data_type": "categorical",
|
| 10 |
+
"is_target": false
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"feature_name": "doors",
|
| 14 |
+
"data_type": "categorical",
|
| 15 |
+
"is_target": false
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"feature_name": "persons",
|
| 19 |
+
"data_type": "categorical",
|
| 20 |
+
"is_target": false
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"feature_name": "lug_boot",
|
| 24 |
+
"data_type": "categorical",
|
| 25 |
+
"is_target": false
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"feature_name": "safety",
|
| 29 |
+
"data_type": "categorical",
|
| 30 |
+
"is_target": false
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"feature_name": "class",
|
| 34 |
+
"data_type": "categorical",
|
| 35 |
+
"is_target": true
|
| 36 |
+
}
|
| 37 |
+
]
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b48114a7d0bc5bd9a07920f903c8d4aba8bf98bf2a66a050da03588b0245ca73
|
| 3 |
+
size 5273
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4aed00c2c2b3f88a55a7ebff31b2e1b5e0e32fb0a7267e0b9d2779cd23e434dd
|
| 3 |
+
size 41565
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26e90c1170a57a14c05832ac88027722b1f3848f9662c7c09ef7c93dcba4cc01
|
| 3 |
+
size 5176
|
syntheticSuccess/c2/arf/arf-c2-20260501_224900/train_20260501_224900.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3d6f58ca9aacbd0711ba48e5d7952028046497adce39d08a4578fb07ea487bb
|
| 3 |
+
size 494
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/_bayesnet_generate.py
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/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(1382)
|
| 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 = final.reset_index(drop=True)
|
| 104 |
+
final.to_csv("/work/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/bayesnet-c2-1382-20260501_224928.csv", index=False)
|
| 105 |
+
print(f"[BayesNet] Generated {len(final)} rows (requested {num_rows}) -> /work/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/bayesnet-c2-1382-20260501_224928.csv")
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/_bayesnet_train.py
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/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-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/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-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/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 |
+
max_cat_levels = 256
|
| 51 |
+
if _n_plan > 35 or _n_samples > 200000:
|
| 52 |
+
max_bins = 5
|
| 53 |
+
max_cat_levels = 64
|
| 54 |
+
if _n_plan > 55:
|
| 55 |
+
max_bins = 4
|
| 56 |
+
max_cat_levels = 32
|
| 57 |
+
print(
|
| 58 |
+
f"[BayesNet] max_bins={max_bins}, max_cat_levels={max_cat_levels} "
|
| 59 |
+
f"(cols_in_df={_n_plan}, rows={_n_samples})"
|
| 60 |
+
)
|
| 61 |
+
|
| 62 |
+
for entry in colmeta["columns"]:
|
| 63 |
+
name = entry["name"]
|
| 64 |
+
if name not in df.columns:
|
| 65 |
+
continue
|
| 66 |
+
kind = entry["type"]
|
| 67 |
+
s = df[name]
|
| 68 |
+
if kind == "categorical":
|
| 69 |
+
s2 = s.astype(str).fillna("__NA__")
|
| 70 |
+
counts = s2.value_counts(dropna=False)
|
| 71 |
+
if len(counts) > max_cat_levels:
|
| 72 |
+
keep = set(counts.index[: max_cat_levels - 1].tolist())
|
| 73 |
+
s2 = s2.map(lambda x: x if x in keep else "__OTHER__")
|
| 74 |
+
uniques = sorted(s2.dropna().unique(), key=lambda x: str(x))
|
| 75 |
+
mapping = {str(v): i for i, v in enumerate(uniques)}
|
| 76 |
+
inverse["categorical"][name] = [uniques[i] for i in range(len(uniques))]
|
| 77 |
+
enc[name] = s2.map(lambda x, m=mapping: m.get(str(x), 0)).astype(int)
|
| 78 |
+
else:
|
| 79 |
+
s_num = pd.to_numeric(s, errors="coerce")
|
| 80 |
+
nu = int(s_num.nunique(dropna=True))
|
| 81 |
+
q = min(max_bins, max(2, nu))
|
| 82 |
+
if nu < 2:
|
| 83 |
+
enc[name] = np.zeros(len(s_num), dtype=int)
|
| 84 |
+
lo, hi = float(s_num.min()), float(s_num.max())
|
| 85 |
+
inverse["continuous"][name] = [lo, hi]
|
| 86 |
+
else:
|
| 87 |
+
try:
|
| 88 |
+
_, bins = pd.qcut(
|
| 89 |
+
s_num, q=q, retbins=True, duplicates="drop"
|
| 90 |
+
)
|
| 91 |
+
except Exception:
|
| 92 |
+
med = float(s_num.median())
|
| 93 |
+
s2 = s_num.fillna(med)
|
| 94 |
+
_, bins = pd.qcut(
|
| 95 |
+
s2, q=min(q, 3), retbins=True, duplicates="drop"
|
| 96 |
+
)
|
| 97 |
+
bins = np.asarray(bins, dtype=float)
|
| 98 |
+
lab = pd.cut(
|
| 99 |
+
s_num, bins=bins, labels=False, include_lowest=True
|
| 100 |
+
)
|
| 101 |
+
enc[name] = lab.fillna(0).astype(int)
|
| 102 |
+
inverse["continuous"][name] = bins.tolist()
|
| 103 |
+
|
| 104 |
+
print(f"[BayesNet] Training on {len(enc)} rows, {len(enc.columns)} cols (encoded)")
|
| 105 |
+
|
| 106 |
+
enc_struct = enc
|
| 107 |
+
if len(enc) > 25000:
|
| 108 |
+
enc_struct = enc.sample(n=25000, random_state=0, replace=False)
|
| 109 |
+
print(f"[BayesNet] TreeSearch on {len(enc_struct)} rows (subsample; full n={len(enc)})")
|
| 110 |
+
dag = TreeSearch(enc_struct).estimate(show_progress=False)
|
| 111 |
+
for col in enc.columns:
|
| 112 |
+
if col not in dag.nodes():
|
| 113 |
+
dag.add_node(col)
|
| 114 |
+
print(f"[BayesNet] Added isolated node to DAG: {col}")
|
| 115 |
+
network = DiscreteBayesianNetwork(dag)
|
| 116 |
+
enc_fit = enc
|
| 117 |
+
if len(enc) > 120000:
|
| 118 |
+
enc_fit = enc.sample(n=120000, random_state=1, replace=False)
|
| 119 |
+
print(f"[BayesNet] fit() on {len(enc_fit)} rows (full n={len(enc)})")
|
| 120 |
+
network.fit(enc_fit)
|
| 121 |
+
|
| 122 |
+
bundle = {
|
| 123 |
+
"network": network,
|
| 124 |
+
"inverse": inverse,
|
| 125 |
+
"column_order": list(enc.columns),
|
| 126 |
+
"full_column_order": full_column_order,
|
| 127 |
+
"integer_columns": list(integer_columns),
|
| 128 |
+
"original_dtypes": {c: str(df[c].dtype) for c in enc.columns},
|
| 129 |
+
"const_cols": const_cols,
|
| 130 |
+
}
|
| 131 |
+
with open("/work/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/bayesnet_model.pkl", "wb") as _f:
|
| 132 |
+
pickle.dump(bundle, _f)
|
| 133 |
+
print(f"[BayesNet] Model saved -> /work/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/bayesnet_model.pkl")
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/bayesnet-c2-1382-20260501_224928.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22f6707eed5cf85d2d861bbaf9ea58d07579425a0b10b3e9f2778d53283dcccc
|
| 3 |
+
size 41603
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/bayesnet_coltypes.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"columns": [
|
| 3 |
+
{
|
| 4 |
+
"name": "buying",
|
| 5 |
+
"type": "categorical"
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"name": "maint",
|
| 9 |
+
"type": "categorical"
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"name": "doors",
|
| 13 |
+
"type": "categorical"
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"name": "persons",
|
| 17 |
+
"type": "categorical"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"name": "lug_boot",
|
| 21 |
+
"type": "categorical"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"name": "safety",
|
| 25 |
+
"type": "categorical"
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"name": "class",
|
| 29 |
+
"type": "categorical"
|
| 30 |
+
}
|
| 31 |
+
],
|
| 32 |
+
"integer_columns": []
|
| 33 |
+
}
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/bayesnet_model.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9fc1dfaabb7725d9da65e2853e0e7d4de92da7281a7237ef5c6909e01f2a513
|
| 3 |
+
size 4250
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/const_cols.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{}
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/gen_20260501_224928.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1872b2d76a6b2ac6e20c0bf32ee325a73b9e50f5923ed58c381823ff249455f
|
| 3 |
+
size 3661
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/input_snapshot.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 3 |
+
"model": "bayesnet",
|
| 4 |
+
"inputs": {
|
| 5 |
+
"train_csv": {
|
| 6 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv",
|
| 7 |
+
"exists": true,
|
| 8 |
+
"size": 42948,
|
| 9 |
+
"sha256": "17bc560fa96bd00fb3b526e1e65bc91210b701d0d0a4e8bb9b4c5196cab56def"
|
| 10 |
+
},
|
| 11 |
+
"val_csv": {
|
| 12 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv",
|
| 13 |
+
"exists": true,
|
| 14 |
+
"size": 5349,
|
| 15 |
+
"sha256": "61e565eca62e65a7dccd9d51039a3170413379e10fc494e25870e7c4294863c9"
|
| 16 |
+
},
|
| 17 |
+
"test_csv": {
|
| 18 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv",
|
| 19 |
+
"exists": true,
|
| 20 |
+
"size": 5448,
|
| 21 |
+
"sha256": "cbcbb062a1faf5fa44b66c80532baa229e05b94fc42137269761e6c6d84af20a"
|
| 22 |
+
},
|
| 23 |
+
"profile_json": {
|
| 24 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_profile.json",
|
| 25 |
+
"exists": true,
|
| 26 |
+
"size": 3240,
|
| 27 |
+
"sha256": "526b7163b2076c93c0bf4638438081ee8a6907065d5b608faa40d1a3dbc2a27b"
|
| 28 |
+
},
|
| 29 |
+
"contract_json": {
|
| 30 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_contract_v1.json",
|
| 31 |
+
"exists": true,
|
| 32 |
+
"size": 3731,
|
| 33 |
+
"sha256": "fb595a876054c2ee9b4e10cfe83a5691588de1d25466cbb9d473c18ad3604009"
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
}
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 3 |
+
"target_column": "class",
|
| 4 |
+
"task_type": "classification",
|
| 5 |
+
"columns": [
|
| 6 |
+
{
|
| 7 |
+
"name": "buying",
|
| 8 |
+
"role": "feature",
|
| 9 |
+
"semantic_type": "categorical",
|
| 10 |
+
"nullable": false,
|
| 11 |
+
"missing_tokens": [],
|
| 12 |
+
"parse_format": null,
|
| 13 |
+
"impute_strategy": "mode",
|
| 14 |
+
"profile_stats": {
|
| 15 |
+
"missing_rate": 0.0,
|
| 16 |
+
"unique_count": 4,
|
| 17 |
+
"unique_ratio": 0.002894,
|
| 18 |
+
"example_values": [
|
| 19 |
+
"vhigh",
|
| 20 |
+
"med",
|
| 21 |
+
"high",
|
| 22 |
+
"low"
|
| 23 |
+
]
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"name": "maint",
|
| 28 |
+
"role": "feature",
|
| 29 |
+
"semantic_type": "categorical",
|
| 30 |
+
"nullable": false,
|
| 31 |
+
"missing_tokens": [],
|
| 32 |
+
"parse_format": null,
|
| 33 |
+
"impute_strategy": "mode",
|
| 34 |
+
"profile_stats": {
|
| 35 |
+
"missing_rate": 0.0,
|
| 36 |
+
"unique_count": 4,
|
| 37 |
+
"unique_ratio": 0.002894,
|
| 38 |
+
"example_values": [
|
| 39 |
+
"vhigh",
|
| 40 |
+
"low",
|
| 41 |
+
"med",
|
| 42 |
+
"high"
|
| 43 |
+
]
|
| 44 |
+
}
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"name": "doors",
|
| 48 |
+
"role": "feature",
|
| 49 |
+
"semantic_type": "categorical",
|
| 50 |
+
"nullable": false,
|
| 51 |
+
"missing_tokens": [],
|
| 52 |
+
"parse_format": null,
|
| 53 |
+
"impute_strategy": "mode",
|
| 54 |
+
"profile_stats": {
|
| 55 |
+
"missing_rate": 0.0,
|
| 56 |
+
"unique_count": 4,
|
| 57 |
+
"unique_ratio": 0.002894,
|
| 58 |
+
"example_values": [
|
| 59 |
+
"2",
|
| 60 |
+
"5more",
|
| 61 |
+
"3",
|
| 62 |
+
"4"
|
| 63 |
+
]
|
| 64 |
+
}
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"name": "persons",
|
| 68 |
+
"role": "feature",
|
| 69 |
+
"semantic_type": "categorical",
|
| 70 |
+
"nullable": false,
|
| 71 |
+
"missing_tokens": [],
|
| 72 |
+
"parse_format": null,
|
| 73 |
+
"impute_strategy": "mode",
|
| 74 |
+
"profile_stats": {
|
| 75 |
+
"missing_rate": 0.0,
|
| 76 |
+
"unique_count": 3,
|
| 77 |
+
"unique_ratio": 0.002171,
|
| 78 |
+
"example_values": [
|
| 79 |
+
"2",
|
| 80 |
+
"4",
|
| 81 |
+
"more"
|
| 82 |
+
]
|
| 83 |
+
}
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"name": "lug_boot",
|
| 87 |
+
"role": "feature",
|
| 88 |
+
"semantic_type": "categorical",
|
| 89 |
+
"nullable": false,
|
| 90 |
+
"missing_tokens": [],
|
| 91 |
+
"parse_format": null,
|
| 92 |
+
"impute_strategy": "mode",
|
| 93 |
+
"profile_stats": {
|
| 94 |
+
"missing_rate": 0.0,
|
| 95 |
+
"unique_count": 3,
|
| 96 |
+
"unique_ratio": 0.002171,
|
| 97 |
+
"example_values": [
|
| 98 |
+
"small",
|
| 99 |
+
"big",
|
| 100 |
+
"med"
|
| 101 |
+
]
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": "safety",
|
| 106 |
+
"role": "feature",
|
| 107 |
+
"semantic_type": "categorical",
|
| 108 |
+
"nullable": false,
|
| 109 |
+
"missing_tokens": [],
|
| 110 |
+
"parse_format": null,
|
| 111 |
+
"impute_strategy": "mode",
|
| 112 |
+
"profile_stats": {
|
| 113 |
+
"missing_rate": 0.0,
|
| 114 |
+
"unique_count": 3,
|
| 115 |
+
"unique_ratio": 0.002171,
|
| 116 |
+
"example_values": [
|
| 117 |
+
"low",
|
| 118 |
+
"high",
|
| 119 |
+
"med"
|
| 120 |
+
]
|
| 121 |
+
}
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"name": "class",
|
| 125 |
+
"role": "target",
|
| 126 |
+
"semantic_type": "categorical",
|
| 127 |
+
"nullable": false,
|
| 128 |
+
"missing_tokens": [],
|
| 129 |
+
"parse_format": null,
|
| 130 |
+
"impute_strategy": "mode",
|
| 131 |
+
"profile_stats": {
|
| 132 |
+
"missing_rate": 0.0,
|
| 133 |
+
"unique_count": 4,
|
| 134 |
+
"unique_ratio": 0.002894,
|
| 135 |
+
"example_values": [
|
| 136 |
+
"unacc",
|
| 137 |
+
"good",
|
| 138 |
+
"acc",
|
| 139 |
+
"vgood"
|
| 140 |
+
]
|
| 141 |
+
}
|
| 142 |
+
}
|
| 143 |
+
]
|
| 144 |
+
}
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 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": "class",
|
| 31 |
+
"task_type": "classification",
|
| 32 |
+
"input_splits": {
|
| 33 |
+
"train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv",
|
| 34 |
+
"val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv",
|
| 35 |
+
"test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv"
|
| 36 |
+
}
|
| 37 |
+
}
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 3 |
+
"target_column": "class",
|
| 4 |
+
"task_type": "classification",
|
| 5 |
+
"train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/train.csv",
|
| 6 |
+
"val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/val.csv",
|
| 7 |
+
"test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/test.csv",
|
| 8 |
+
"features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/staged_features.json",
|
| 9 |
+
"public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/public_gate/public_gate_report.json",
|
| 10 |
+
"column_schema": [
|
| 11 |
+
{
|
| 12 |
+
"name": "buying",
|
| 13 |
+
"role": "feature",
|
| 14 |
+
"semantic_type": "categorical",
|
| 15 |
+
"nullable": false,
|
| 16 |
+
"missing_tokens": [],
|
| 17 |
+
"parse_format": null,
|
| 18 |
+
"impute_strategy": "mode",
|
| 19 |
+
"profile_stats": {
|
| 20 |
+
"missing_rate": 0.0,
|
| 21 |
+
"unique_count": 4,
|
| 22 |
+
"unique_ratio": 0.002894,
|
| 23 |
+
"example_values": [
|
| 24 |
+
"vhigh",
|
| 25 |
+
"med",
|
| 26 |
+
"high",
|
| 27 |
+
"low"
|
| 28 |
+
]
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"name": "maint",
|
| 33 |
+
"role": "feature",
|
| 34 |
+
"semantic_type": "categorical",
|
| 35 |
+
"nullable": false,
|
| 36 |
+
"missing_tokens": [],
|
| 37 |
+
"parse_format": null,
|
| 38 |
+
"impute_strategy": "mode",
|
| 39 |
+
"profile_stats": {
|
| 40 |
+
"missing_rate": 0.0,
|
| 41 |
+
"unique_count": 4,
|
| 42 |
+
"unique_ratio": 0.002894,
|
| 43 |
+
"example_values": [
|
| 44 |
+
"vhigh",
|
| 45 |
+
"low",
|
| 46 |
+
"med",
|
| 47 |
+
"high"
|
| 48 |
+
]
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"name": "doors",
|
| 53 |
+
"role": "feature",
|
| 54 |
+
"semantic_type": "categorical",
|
| 55 |
+
"nullable": false,
|
| 56 |
+
"missing_tokens": [],
|
| 57 |
+
"parse_format": null,
|
| 58 |
+
"impute_strategy": "mode",
|
| 59 |
+
"profile_stats": {
|
| 60 |
+
"missing_rate": 0.0,
|
| 61 |
+
"unique_count": 4,
|
| 62 |
+
"unique_ratio": 0.002894,
|
| 63 |
+
"example_values": [
|
| 64 |
+
"2",
|
| 65 |
+
"5more",
|
| 66 |
+
"3",
|
| 67 |
+
"4"
|
| 68 |
+
]
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"name": "persons",
|
| 73 |
+
"role": "feature",
|
| 74 |
+
"semantic_type": "categorical",
|
| 75 |
+
"nullable": false,
|
| 76 |
+
"missing_tokens": [],
|
| 77 |
+
"parse_format": null,
|
| 78 |
+
"impute_strategy": "mode",
|
| 79 |
+
"profile_stats": {
|
| 80 |
+
"missing_rate": 0.0,
|
| 81 |
+
"unique_count": 3,
|
| 82 |
+
"unique_ratio": 0.002171,
|
| 83 |
+
"example_values": [
|
| 84 |
+
"2",
|
| 85 |
+
"4",
|
| 86 |
+
"more"
|
| 87 |
+
]
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"name": "lug_boot",
|
| 92 |
+
"role": "feature",
|
| 93 |
+
"semantic_type": "categorical",
|
| 94 |
+
"nullable": false,
|
| 95 |
+
"missing_tokens": [],
|
| 96 |
+
"parse_format": null,
|
| 97 |
+
"impute_strategy": "mode",
|
| 98 |
+
"profile_stats": {
|
| 99 |
+
"missing_rate": 0.0,
|
| 100 |
+
"unique_count": 3,
|
| 101 |
+
"unique_ratio": 0.002171,
|
| 102 |
+
"example_values": [
|
| 103 |
+
"small",
|
| 104 |
+
"big",
|
| 105 |
+
"med"
|
| 106 |
+
]
|
| 107 |
+
}
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"name": "safety",
|
| 111 |
+
"role": "feature",
|
| 112 |
+
"semantic_type": "categorical",
|
| 113 |
+
"nullable": false,
|
| 114 |
+
"missing_tokens": [],
|
| 115 |
+
"parse_format": null,
|
| 116 |
+
"impute_strategy": "mode",
|
| 117 |
+
"profile_stats": {
|
| 118 |
+
"missing_rate": 0.0,
|
| 119 |
+
"unique_count": 3,
|
| 120 |
+
"unique_ratio": 0.002171,
|
| 121 |
+
"example_values": [
|
| 122 |
+
"low",
|
| 123 |
+
"high",
|
| 124 |
+
"med"
|
| 125 |
+
]
|
| 126 |
+
}
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"name": "class",
|
| 130 |
+
"role": "target",
|
| 131 |
+
"semantic_type": "categorical",
|
| 132 |
+
"nullable": false,
|
| 133 |
+
"missing_tokens": [],
|
| 134 |
+
"parse_format": null,
|
| 135 |
+
"impute_strategy": "mode",
|
| 136 |
+
"profile_stats": {
|
| 137 |
+
"missing_rate": 0.0,
|
| 138 |
+
"unique_count": 4,
|
| 139 |
+
"unique_ratio": 0.002894,
|
| 140 |
+
"example_values": [
|
| 141 |
+
"unacc",
|
| 142 |
+
"good",
|
| 143 |
+
"acc",
|
| 144 |
+
"vgood"
|
| 145 |
+
]
|
| 146 |
+
}
|
| 147 |
+
}
|
| 148 |
+
]
|
| 149 |
+
}
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/runtime_result.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 3 |
+
"model": "bayesnet",
|
| 4 |
+
"run_id": "bayesnet-c2-20260501_224919",
|
| 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-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/bayesnet-c2-1382-20260501_224928.csv",
|
| 13 |
+
"model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/bayesnet_model.pkl"
|
| 14 |
+
},
|
| 15 |
+
"timings": {
|
| 16 |
+
"train": {
|
| 17 |
+
"started_at": "2026-05-01T22:49:19",
|
| 18 |
+
"ended_at": "2026-05-01T22:49:28",
|
| 19 |
+
"duration_sec": 8.787
|
| 20 |
+
},
|
| 21 |
+
"generate": {
|
| 22 |
+
"started_at": "2026-05-01T22:49:28",
|
| 23 |
+
"ended_at": "2026-05-01T22:49:33",
|
| 24 |
+
"duration_sec": 5.228
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
}
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/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-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/staged/bayesnet/model_input_manifest.json"
|
| 7 |
+
}
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/staged/bayesnet/adapter_transforms_applied.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[]
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/staged/bayesnet/model_input_manifest.json
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 3 |
+
"model": "bayesnet",
|
| 4 |
+
"target_column": "class",
|
| 5 |
+
"task_type": "classification",
|
| 6 |
+
"column_schema": [
|
| 7 |
+
{
|
| 8 |
+
"name": "buying",
|
| 9 |
+
"role": "feature",
|
| 10 |
+
"semantic_type": "categorical",
|
| 11 |
+
"nullable": false,
|
| 12 |
+
"missing_tokens": [],
|
| 13 |
+
"parse_format": null,
|
| 14 |
+
"impute_strategy": "mode",
|
| 15 |
+
"profile_stats": {
|
| 16 |
+
"missing_rate": 0.0,
|
| 17 |
+
"unique_count": 4,
|
| 18 |
+
"unique_ratio": 0.002894,
|
| 19 |
+
"example_values": [
|
| 20 |
+
"vhigh",
|
| 21 |
+
"med",
|
| 22 |
+
"high",
|
| 23 |
+
"low"
|
| 24 |
+
]
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"name": "maint",
|
| 29 |
+
"role": "feature",
|
| 30 |
+
"semantic_type": "categorical",
|
| 31 |
+
"nullable": false,
|
| 32 |
+
"missing_tokens": [],
|
| 33 |
+
"parse_format": null,
|
| 34 |
+
"impute_strategy": "mode",
|
| 35 |
+
"profile_stats": {
|
| 36 |
+
"missing_rate": 0.0,
|
| 37 |
+
"unique_count": 4,
|
| 38 |
+
"unique_ratio": 0.002894,
|
| 39 |
+
"example_values": [
|
| 40 |
+
"vhigh",
|
| 41 |
+
"low",
|
| 42 |
+
"med",
|
| 43 |
+
"high"
|
| 44 |
+
]
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"name": "doors",
|
| 49 |
+
"role": "feature",
|
| 50 |
+
"semantic_type": "categorical",
|
| 51 |
+
"nullable": false,
|
| 52 |
+
"missing_tokens": [],
|
| 53 |
+
"parse_format": null,
|
| 54 |
+
"impute_strategy": "mode",
|
| 55 |
+
"profile_stats": {
|
| 56 |
+
"missing_rate": 0.0,
|
| 57 |
+
"unique_count": 4,
|
| 58 |
+
"unique_ratio": 0.002894,
|
| 59 |
+
"example_values": [
|
| 60 |
+
"2",
|
| 61 |
+
"5more",
|
| 62 |
+
"3",
|
| 63 |
+
"4"
|
| 64 |
+
]
|
| 65 |
+
}
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"name": "persons",
|
| 69 |
+
"role": "feature",
|
| 70 |
+
"semantic_type": "categorical",
|
| 71 |
+
"nullable": false,
|
| 72 |
+
"missing_tokens": [],
|
| 73 |
+
"parse_format": null,
|
| 74 |
+
"impute_strategy": "mode",
|
| 75 |
+
"profile_stats": {
|
| 76 |
+
"missing_rate": 0.0,
|
| 77 |
+
"unique_count": 3,
|
| 78 |
+
"unique_ratio": 0.002171,
|
| 79 |
+
"example_values": [
|
| 80 |
+
"2",
|
| 81 |
+
"4",
|
| 82 |
+
"more"
|
| 83 |
+
]
|
| 84 |
+
}
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"name": "lug_boot",
|
| 88 |
+
"role": "feature",
|
| 89 |
+
"semantic_type": "categorical",
|
| 90 |
+
"nullable": false,
|
| 91 |
+
"missing_tokens": [],
|
| 92 |
+
"parse_format": null,
|
| 93 |
+
"impute_strategy": "mode",
|
| 94 |
+
"profile_stats": {
|
| 95 |
+
"missing_rate": 0.0,
|
| 96 |
+
"unique_count": 3,
|
| 97 |
+
"unique_ratio": 0.002171,
|
| 98 |
+
"example_values": [
|
| 99 |
+
"small",
|
| 100 |
+
"big",
|
| 101 |
+
"med"
|
| 102 |
+
]
|
| 103 |
+
}
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"name": "safety",
|
| 107 |
+
"role": "feature",
|
| 108 |
+
"semantic_type": "categorical",
|
| 109 |
+
"nullable": false,
|
| 110 |
+
"missing_tokens": [],
|
| 111 |
+
"parse_format": null,
|
| 112 |
+
"impute_strategy": "mode",
|
| 113 |
+
"profile_stats": {
|
| 114 |
+
"missing_rate": 0.0,
|
| 115 |
+
"unique_count": 3,
|
| 116 |
+
"unique_ratio": 0.002171,
|
| 117 |
+
"example_values": [
|
| 118 |
+
"low",
|
| 119 |
+
"high",
|
| 120 |
+
"med"
|
| 121 |
+
]
|
| 122 |
+
}
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"name": "class",
|
| 126 |
+
"role": "target",
|
| 127 |
+
"semantic_type": "categorical",
|
| 128 |
+
"nullable": false,
|
| 129 |
+
"missing_tokens": [],
|
| 130 |
+
"parse_format": null,
|
| 131 |
+
"impute_strategy": "mode",
|
| 132 |
+
"profile_stats": {
|
| 133 |
+
"missing_rate": 0.0,
|
| 134 |
+
"unique_count": 4,
|
| 135 |
+
"unique_ratio": 0.002894,
|
| 136 |
+
"example_values": [
|
| 137 |
+
"unacc",
|
| 138 |
+
"good",
|
| 139 |
+
"acc",
|
| 140 |
+
"vgood"
|
| 141 |
+
]
|
| 142 |
+
}
|
| 143 |
+
}
|
| 144 |
+
],
|
| 145 |
+
"public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/public_gate/staged_input_manifest.json",
|
| 146 |
+
"train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/train.csv",
|
| 147 |
+
"val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/val.csv",
|
| 148 |
+
"test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/test.csv",
|
| 149 |
+
"features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/staged_features.json",
|
| 150 |
+
"public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/bayesnet/bayesnet-c2-20260501_224919/public_gate/public_gate_report.json"
|
| 151 |
+
}
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"feature_name": "buying",
|
| 4 |
+
"data_type": "categorical",
|
| 5 |
+
"is_target": false
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"feature_name": "maint",
|
| 9 |
+
"data_type": "categorical",
|
| 10 |
+
"is_target": false
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"feature_name": "doors",
|
| 14 |
+
"data_type": "categorical",
|
| 15 |
+
"is_target": false
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"feature_name": "persons",
|
| 19 |
+
"data_type": "categorical",
|
| 20 |
+
"is_target": false
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"feature_name": "lug_boot",
|
| 24 |
+
"data_type": "categorical",
|
| 25 |
+
"is_target": false
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"feature_name": "safety",
|
| 29 |
+
"data_type": "categorical",
|
| 30 |
+
"is_target": false
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"feature_name": "class",
|
| 34 |
+
"data_type": "categorical",
|
| 35 |
+
"is_target": true
|
| 36 |
+
}
|
| 37 |
+
]
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b48114a7d0bc5bd9a07920f903c8d4aba8bf98bf2a66a050da03588b0245ca73
|
| 3 |
+
size 5273
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4aed00c2c2b3f88a55a7ebff31b2e1b5e0e32fb0a7267e0b9d2779cd23e434dd
|
| 3 |
+
size 41565
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26e90c1170a57a14c05832ac88027722b1f3848f9662c7c09ef7c93dcba4cc01
|
| 3 |
+
size 5176
|
syntheticSuccess/c2/bayesnet/bayesnet-c2-20260501_224919/train_20260501_224919.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a2419ea58dce6b8666957845438ee953b6addfa166281431702145cc7aa608af
|
| 3 |
+
size 3738
|
syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:260745c93bbaaa167bd761bd653a194f7b25b477b3929a24e343741a3c4fa280
|
| 3 |
+
size 38824
|
syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/_fd_gen.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import joblib, pandas as pd
|
| 3 |
+
m, meta = joblib.load(r'/work/output-Benchmark-trainonly-v1/c2/forestdiffusion/forest-c2-20260501_180312/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(1382))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/c2/forestdiffusion/forest-c2-20260501_180312/forest-c2-1382-20260501_180507.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/_fd_meta_host.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"column_names": ["buying", "maint", "doors", "persons", "lug_boot", "safety", "class"], "cat_indexes": [0, 1, 2, 3, 4, 5]}
|
syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/_fd_train.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import shutil, json
|
| 3 |
+
shutil.copy(r'/work/output-Benchmark-trainonly-v1/c2/forestdiffusion/forest-c2-20260501_180312/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 4 |
+
with open(r'/work/output-Benchmark-trainonly-v1/c2/forestdiffusion/forest-c2-20260501_180312/_fd_meta_host.json') as f:
|
| 5 |
+
open('/tmp/fd_meta.json','w').write(f.read())
|
| 6 |
+
|
| 7 |
+
import numpy as np, joblib, json, os
|
| 8 |
+
from ForestDiffusion import ForestDiffusionModel
|
| 9 |
+
X = np.load("/tmp/fd_X.npy")
|
| 10 |
+
with open("/tmp/fd_meta.json") as f:
|
| 11 |
+
meta = json.load(f)
|
| 12 |
+
cat_indexes = meta["cat_indexes"]
|
| 13 |
+
print(
|
| 14 |
+
"[ForestDiffusion] train config: "
|
| 15 |
+
f"rows={X.shape[0]} cols={X.shape[1]} n_t=20 "
|
| 16 |
+
f"n_estimators=100 duplicate_K=20 n_jobs=2 "
|
| 17 |
+
f"xgb_verbosity=1",
|
| 18 |
+
flush=True,
|
| 19 |
+
)
|
| 20 |
+
m = ForestDiffusionModel(
|
| 21 |
+
X, n_t=20, n_estimators=100, duplicate_K=20, n_jobs=2,
|
| 22 |
+
model="xgboost", max_depth=6, tree_method="hist", cat_indexes=cat_indexes,
|
| 23 |
+
verbosity=1,
|
| 24 |
+
)
|
| 25 |
+
joblib.dump((m, meta), "/tmp/fd_model.joblib")
|
| 26 |
+
print("ForestDiffusion train OK")
|
| 27 |
+
|
| 28 |
+
shutil.copy('/tmp/fd_model.joblib', r'/work/output-Benchmark-trainonly-v1/c2/forestdiffusion/forest-c2-20260501_180312/forestdiffusion_model.joblib')
|
syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/forest-c2-1382-20260501_180507.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f05e6305ad9ae6a73ceedca6ac21485ca0252b55a3a2d9c86e9d14b6b1c566fb
|
| 3 |
+
size 57598
|
syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29b1a2d549cebbb41f05e432a66310bee854f4001499e662ced2d5638d6a1a69
|
| 3 |
+
size 144873431
|
syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/gen_20260501_180507.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0d15ba478b2b03e234e7ef665cd4a0179699fde3851b7149a2ec1bc47f81519
|
| 3 |
+
size 294
|
syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/input_snapshot.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 3 |
+
"model": "forestdiffusion",
|
| 4 |
+
"inputs": {
|
| 5 |
+
"train_csv": {
|
| 6 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv",
|
| 7 |
+
"exists": true,
|
| 8 |
+
"size": 42948,
|
| 9 |
+
"sha256": "17bc560fa96bd00fb3b526e1e65bc91210b701d0d0a4e8bb9b4c5196cab56def"
|
| 10 |
+
},
|
| 11 |
+
"val_csv": {
|
| 12 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv",
|
| 13 |
+
"exists": true,
|
| 14 |
+
"size": 5349,
|
| 15 |
+
"sha256": "61e565eca62e65a7dccd9d51039a3170413379e10fc494e25870e7c4294863c9"
|
| 16 |
+
},
|
| 17 |
+
"test_csv": {
|
| 18 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv",
|
| 19 |
+
"exists": true,
|
| 20 |
+
"size": 5448,
|
| 21 |
+
"sha256": "cbcbb062a1faf5fa44b66c80532baa229e05b94fc42137269761e6c6d84af20a"
|
| 22 |
+
},
|
| 23 |
+
"profile_json": {
|
| 24 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_profile.json",
|
| 25 |
+
"exists": true,
|
| 26 |
+
"size": 3240,
|
| 27 |
+
"sha256": "526b7163b2076c93c0bf4638438081ee8a6907065d5b608faa40d1a3dbc2a27b"
|
| 28 |
+
},
|
| 29 |
+
"contract_json": {
|
| 30 |
+
"path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_contract_v1.json",
|
| 31 |
+
"exists": true,
|
| 32 |
+
"size": 3731,
|
| 33 |
+
"sha256": "fb595a876054c2ee9b4e10cfe83a5691588de1d25466cbb9d473c18ad3604009"
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
}
|
syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29b1a2d549cebbb41f05e432a66310bee854f4001499e662ced2d5638d6a1a69
|
| 3 |
+
size 144873431
|
syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 3 |
+
"target_column": "class",
|
| 4 |
+
"task_type": "classification",
|
| 5 |
+
"columns": [
|
| 6 |
+
{
|
| 7 |
+
"name": "buying",
|
| 8 |
+
"role": "feature",
|
| 9 |
+
"semantic_type": "categorical",
|
| 10 |
+
"nullable": false,
|
| 11 |
+
"missing_tokens": [],
|
| 12 |
+
"parse_format": null,
|
| 13 |
+
"impute_strategy": "mode",
|
| 14 |
+
"profile_stats": {
|
| 15 |
+
"missing_rate": 0.0,
|
| 16 |
+
"unique_count": 4,
|
| 17 |
+
"unique_ratio": 0.002894,
|
| 18 |
+
"example_values": [
|
| 19 |
+
"vhigh",
|
| 20 |
+
"med",
|
| 21 |
+
"high",
|
| 22 |
+
"low"
|
| 23 |
+
]
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"name": "maint",
|
| 28 |
+
"role": "feature",
|
| 29 |
+
"semantic_type": "categorical",
|
| 30 |
+
"nullable": false,
|
| 31 |
+
"missing_tokens": [],
|
| 32 |
+
"parse_format": null,
|
| 33 |
+
"impute_strategy": "mode",
|
| 34 |
+
"profile_stats": {
|
| 35 |
+
"missing_rate": 0.0,
|
| 36 |
+
"unique_count": 4,
|
| 37 |
+
"unique_ratio": 0.002894,
|
| 38 |
+
"example_values": [
|
| 39 |
+
"vhigh",
|
| 40 |
+
"low",
|
| 41 |
+
"med",
|
| 42 |
+
"high"
|
| 43 |
+
]
|
| 44 |
+
}
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"name": "doors",
|
| 48 |
+
"role": "feature",
|
| 49 |
+
"semantic_type": "categorical",
|
| 50 |
+
"nullable": false,
|
| 51 |
+
"missing_tokens": [],
|
| 52 |
+
"parse_format": null,
|
| 53 |
+
"impute_strategy": "mode",
|
| 54 |
+
"profile_stats": {
|
| 55 |
+
"missing_rate": 0.0,
|
| 56 |
+
"unique_count": 4,
|
| 57 |
+
"unique_ratio": 0.002894,
|
| 58 |
+
"example_values": [
|
| 59 |
+
"2",
|
| 60 |
+
"5more",
|
| 61 |
+
"3",
|
| 62 |
+
"4"
|
| 63 |
+
]
|
| 64 |
+
}
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"name": "persons",
|
| 68 |
+
"role": "feature",
|
| 69 |
+
"semantic_type": "categorical",
|
| 70 |
+
"nullable": false,
|
| 71 |
+
"missing_tokens": [],
|
| 72 |
+
"parse_format": null,
|
| 73 |
+
"impute_strategy": "mode",
|
| 74 |
+
"profile_stats": {
|
| 75 |
+
"missing_rate": 0.0,
|
| 76 |
+
"unique_count": 3,
|
| 77 |
+
"unique_ratio": 0.002171,
|
| 78 |
+
"example_values": [
|
| 79 |
+
"2",
|
| 80 |
+
"4",
|
| 81 |
+
"more"
|
| 82 |
+
]
|
| 83 |
+
}
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"name": "lug_boot",
|
| 87 |
+
"role": "feature",
|
| 88 |
+
"semantic_type": "categorical",
|
| 89 |
+
"nullable": false,
|
| 90 |
+
"missing_tokens": [],
|
| 91 |
+
"parse_format": null,
|
| 92 |
+
"impute_strategy": "mode",
|
| 93 |
+
"profile_stats": {
|
| 94 |
+
"missing_rate": 0.0,
|
| 95 |
+
"unique_count": 3,
|
| 96 |
+
"unique_ratio": 0.002171,
|
| 97 |
+
"example_values": [
|
| 98 |
+
"small",
|
| 99 |
+
"big",
|
| 100 |
+
"med"
|
| 101 |
+
]
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": "safety",
|
| 106 |
+
"role": "feature",
|
| 107 |
+
"semantic_type": "categorical",
|
| 108 |
+
"nullable": false,
|
| 109 |
+
"missing_tokens": [],
|
| 110 |
+
"parse_format": null,
|
| 111 |
+
"impute_strategy": "mode",
|
| 112 |
+
"profile_stats": {
|
| 113 |
+
"missing_rate": 0.0,
|
| 114 |
+
"unique_count": 3,
|
| 115 |
+
"unique_ratio": 0.002171,
|
| 116 |
+
"example_values": [
|
| 117 |
+
"low",
|
| 118 |
+
"high",
|
| 119 |
+
"med"
|
| 120 |
+
]
|
| 121 |
+
}
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"name": "class",
|
| 125 |
+
"role": "target",
|
| 126 |
+
"semantic_type": "categorical",
|
| 127 |
+
"nullable": false,
|
| 128 |
+
"missing_tokens": [],
|
| 129 |
+
"parse_format": null,
|
| 130 |
+
"impute_strategy": "mode",
|
| 131 |
+
"profile_stats": {
|
| 132 |
+
"missing_rate": 0.0,
|
| 133 |
+
"unique_count": 4,
|
| 134 |
+
"unique_ratio": 0.002894,
|
| 135 |
+
"example_values": [
|
| 136 |
+
"unacc",
|
| 137 |
+
"good",
|
| 138 |
+
"acc",
|
| 139 |
+
"vgood"
|
| 140 |
+
]
|
| 141 |
+
}
|
| 142 |
+
}
|
| 143 |
+
]
|
| 144 |
+
}
|
syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 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": "class",
|
| 31 |
+
"task_type": "classification",
|
| 32 |
+
"input_splits": {
|
| 33 |
+
"train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv",
|
| 34 |
+
"val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv",
|
| 35 |
+
"test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv"
|
| 36 |
+
}
|
| 37 |
+
}
|
syntheticSuccess/c2/forestdiffusion/forest-c2-20260501_180312/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "c2",
|
| 3 |
+
"target_column": "class",
|
| 4 |
+
"task_type": "classification",
|
| 5 |
+
"train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/forestdiffusion/forest-c2-20260501_180312/staged/public/train.csv",
|
| 6 |
+
"val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/forestdiffusion/forest-c2-20260501_180312/staged/public/val.csv",
|
| 7 |
+
"test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/forestdiffusion/forest-c2-20260501_180312/staged/public/test.csv",
|
| 8 |
+
"features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/forestdiffusion/forest-c2-20260501_180312/staged/public/staged_features.json",
|
| 9 |
+
"public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/forestdiffusion/forest-c2-20260501_180312/public_gate/public_gate_report.json",
|
| 10 |
+
"column_schema": [
|
| 11 |
+
{
|
| 12 |
+
"name": "buying",
|
| 13 |
+
"role": "feature",
|
| 14 |
+
"semantic_type": "categorical",
|
| 15 |
+
"nullable": false,
|
| 16 |
+
"missing_tokens": [],
|
| 17 |
+
"parse_format": null,
|
| 18 |
+
"impute_strategy": "mode",
|
| 19 |
+
"profile_stats": {
|
| 20 |
+
"missing_rate": 0.0,
|
| 21 |
+
"unique_count": 4,
|
| 22 |
+
"unique_ratio": 0.002894,
|
| 23 |
+
"example_values": [
|
| 24 |
+
"vhigh",
|
| 25 |
+
"med",
|
| 26 |
+
"high",
|
| 27 |
+
"low"
|
| 28 |
+
]
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"name": "maint",
|
| 33 |
+
"role": "feature",
|
| 34 |
+
"semantic_type": "categorical",
|
| 35 |
+
"nullable": false,
|
| 36 |
+
"missing_tokens": [],
|
| 37 |
+
"parse_format": null,
|
| 38 |
+
"impute_strategy": "mode",
|
| 39 |
+
"profile_stats": {
|
| 40 |
+
"missing_rate": 0.0,
|
| 41 |
+
"unique_count": 4,
|
| 42 |
+
"unique_ratio": 0.002894,
|
| 43 |
+
"example_values": [
|
| 44 |
+
"vhigh",
|
| 45 |
+
"low",
|
| 46 |
+
"med",
|
| 47 |
+
"high"
|
| 48 |
+
]
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"name": "doors",
|
| 53 |
+
"role": "feature",
|
| 54 |
+
"semantic_type": "categorical",
|
| 55 |
+
"nullable": false,
|
| 56 |
+
"missing_tokens": [],
|
| 57 |
+
"parse_format": null,
|
| 58 |
+
"impute_strategy": "mode",
|
| 59 |
+
"profile_stats": {
|
| 60 |
+
"missing_rate": 0.0,
|
| 61 |
+
"unique_count": 4,
|
| 62 |
+
"unique_ratio": 0.002894,
|
| 63 |
+
"example_values": [
|
| 64 |
+
"2",
|
| 65 |
+
"5more",
|
| 66 |
+
"3",
|
| 67 |
+
"4"
|
| 68 |
+
]
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"name": "persons",
|
| 73 |
+
"role": "feature",
|
| 74 |
+
"semantic_type": "categorical",
|
| 75 |
+
"nullable": false,
|
| 76 |
+
"missing_tokens": [],
|
| 77 |
+
"parse_format": null,
|
| 78 |
+
"impute_strategy": "mode",
|
| 79 |
+
"profile_stats": {
|
| 80 |
+
"missing_rate": 0.0,
|
| 81 |
+
"unique_count": 3,
|
| 82 |
+
"unique_ratio": 0.002171,
|
| 83 |
+
"example_values": [
|
| 84 |
+
"2",
|
| 85 |
+
"4",
|
| 86 |
+
"more"
|
| 87 |
+
]
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"name": "lug_boot",
|
| 92 |
+
"role": "feature",
|
| 93 |
+
"semantic_type": "categorical",
|
| 94 |
+
"nullable": false,
|
| 95 |
+
"missing_tokens": [],
|
| 96 |
+
"parse_format": null,
|
| 97 |
+
"impute_strategy": "mode",
|
| 98 |
+
"profile_stats": {
|
| 99 |
+
"missing_rate": 0.0,
|
| 100 |
+
"unique_count": 3,
|
| 101 |
+
"unique_ratio": 0.002171,
|
| 102 |
+
"example_values": [
|
| 103 |
+
"small",
|
| 104 |
+
"big",
|
| 105 |
+
"med"
|
| 106 |
+
]
|
| 107 |
+
}
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"name": "safety",
|
| 111 |
+
"role": "feature",
|
| 112 |
+
"semantic_type": "categorical",
|
| 113 |
+
"nullable": false,
|
| 114 |
+
"missing_tokens": [],
|
| 115 |
+
"parse_format": null,
|
| 116 |
+
"impute_strategy": "mode",
|
| 117 |
+
"profile_stats": {
|
| 118 |
+
"missing_rate": 0.0,
|
| 119 |
+
"unique_count": 3,
|
| 120 |
+
"unique_ratio": 0.002171,
|
| 121 |
+
"example_values": [
|
| 122 |
+
"low",
|
| 123 |
+
"high",
|
| 124 |
+
"med"
|
| 125 |
+
]
|
| 126 |
+
}
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"name": "class",
|
| 130 |
+
"role": "target",
|
| 131 |
+
"semantic_type": "categorical",
|
| 132 |
+
"nullable": false,
|
| 133 |
+
"missing_tokens": [],
|
| 134 |
+
"parse_format": null,
|
| 135 |
+
"impute_strategy": "mode",
|
| 136 |
+
"profile_stats": {
|
| 137 |
+
"missing_rate": 0.0,
|
| 138 |
+
"unique_count": 4,
|
| 139 |
+
"unique_ratio": 0.002894,
|
| 140 |
+
"example_values": [
|
| 141 |
+
"unacc",
|
| 142 |
+
"good",
|
| 143 |
+
"acc",
|
| 144 |
+
"vgood"
|
| 145 |
+
]
|
| 146 |
+
}
|
| 147 |
+
}
|
| 148 |
+
]
|
| 149 |
+
}
|