Add files using upload-large-folder tool
Browse files- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/_fd_X_host.npy +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/_fd_gen.py +8 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/_fd_meta_host.json +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/_fd_train.py +36 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/forest-n18-60800-20260511_132340.csv +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/gen_20260511_132340.log +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/input_snapshot.json +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/models_fd/model.joblib +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/public_gate/normalized_schema_snapshot.json +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/public_gate/public_gate_report.json +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/public_gate/staged_input_manifest.json +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/run_config.json +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/runtime_result.json +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/staged/forestdiffusion/adapter_report.json +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/staged/forestdiffusion/model_input_manifest.json +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/staged/public/staged_features.json +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/staged/public/test.csv +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/staged/public/train.csv +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/staged/public/val.csv +3 -0
- syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/train_20260511_132132.log +3 -0
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b34f6fd186b66b208b9d6c3bd365101f6a42342e0f238ba74dc886fc101d80be
|
| 3 |
+
size 700544
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/_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/n18/forestdiffusion/forest-n18-20260511_132123/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(60800))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/n18/forestdiffusion/forest-n18-20260511_132123/forest-n18-60800-20260511_132340.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/_fd_meta_host.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:01179927bed628f6d3dc6c0c3c1cb116b892189d4bc263dc534e5f7a365a7a82
|
| 3 |
+
size 1834
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/_fd_train.py
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import os, shutil, json
|
| 3 |
+
with open('/tmp/pgrep', 'w') as _f:
|
| 4 |
+
_f.write("#!/usr/bin/env python3\n")
|
| 5 |
+
_f.write("import subprocess, sys\n")
|
| 6 |
+
_f.write("ppid = sys.argv[-1]\n")
|
| 7 |
+
_f.write("out = subprocess.check_output(['ps', '-o', 'pid=', '--ppid', str(ppid)], text=True)\n")
|
| 8 |
+
_f.write("print(out, end='')\n")
|
| 9 |
+
os.chmod('/tmp/pgrep', 0o755)
|
| 10 |
+
os.environ['PATH'] = '/tmp:' + os.environ.get('PATH', '')
|
| 11 |
+
shutil.copy(r'/work/output-Benchmark-trainonly-v1/n18/forestdiffusion/forest-n18-20260511_132123/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 12 |
+
with open(r'/work/output-Benchmark-trainonly-v1/n18/forestdiffusion/forest-n18-20260511_132123/_fd_meta_host.json') as f:
|
| 13 |
+
open('/tmp/fd_meta.json','w').write(f.read())
|
| 14 |
+
|
| 15 |
+
import numpy as np, joblib, json, os
|
| 16 |
+
from ForestDiffusion import ForestDiffusionModel
|
| 17 |
+
X = np.load("/tmp/fd_X.npy")
|
| 18 |
+
with open("/tmp/fd_meta.json") as f:
|
| 19 |
+
meta = json.load(f)
|
| 20 |
+
cat_indexes = meta["cat_indexes"]
|
| 21 |
+
print(
|
| 22 |
+
"[ForestDiffusion] train config: "
|
| 23 |
+
f"rows={X.shape[0]} cols={X.shape[1]} n_t=2 "
|
| 24 |
+
f"n_estimators=1 duplicate_K=1 n_jobs=1 "
|
| 25 |
+
f"max_depth=2 xgb_verbosity=0 xgb_nthread=1",
|
| 26 |
+
flush=True,
|
| 27 |
+
)
|
| 28 |
+
m = ForestDiffusionModel(
|
| 29 |
+
X, n_t=2, n_estimators=1, duplicate_K=1, n_jobs=1,
|
| 30 |
+
model="xgboost", max_depth=2, tree_method="hist", cat_indexes=cat_indexes,
|
| 31 |
+
verbosity=0, nthread=1,
|
| 32 |
+
)
|
| 33 |
+
joblib.dump((m, meta), "/tmp/fd_model.joblib")
|
| 34 |
+
print("ForestDiffusion train OK")
|
| 35 |
+
|
| 36 |
+
shutil.copy('/tmp/fd_model.joblib', r'/work/output-Benchmark-trainonly-v1/n18/forestdiffusion/forest-n18-20260511_132123/forestdiffusion_model.joblib')
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/forest-n18-60800-20260511_132340.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eabe067a3fe4e245ef11c41a743f579b648578170c68e3bbcde75cc043bd5036
|
| 3 |
+
size 109933721
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4e5e17b0c483338dddd6071d007ea4133d0297b55c0e55e15210f7cf57f4f7a
|
| 3 |
+
size 4981727
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/gen_20260511_132340.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2e3fa4ec45e290e12c19f07de8fa26f85e311d716a857a2944aea8ccc328b4d
|
| 3 |
+
size 296
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/input_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:241f47a29a9bdcf9b3483eed2e5f122670a00981a96296c7ff1490336e275336
|
| 3 |
+
size 1373
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4e5e17b0c483338dddd6071d007ea4133d0297b55c0e55e15210f7cf57f4f7a
|
| 3 |
+
size 4981727
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3724e0a85c0eb4c7fa53549f04213ff4a81ff001c20c899b25018c54d7f45b0d
|
| 3 |
+
size 83479
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f18843c7d624d4de9d63cd4b11b0c400c33727ad59a065f1a3ff177d5c08c80f
|
| 3 |
+
size 919
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b5a1d0381bce835a626b36cc8b42aa5e1a55f7aa3771d648548aed2e9593063
|
| 3 |
+
size 84330
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/run_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd341a98b8a8f281cb8ebde5d20ee2bd774f65f54dcc721925ace38bdff7daf6
|
| 3 |
+
size 2355
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/runtime_result.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60f9d6b80b8d8722acf092bc27f9c731a5a04b72111e95cc76f9f8ade1e2d540
|
| 3 |
+
size 932
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/staged/forestdiffusion/adapter_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad34e1c0cb389d423c9070f5c90852ad698ce390af92bf9087770753eed53891
|
| 3 |
+
size 338
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/staged/forestdiffusion/adapter_transforms_applied.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945
|
| 3 |
+
size 2
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/staged/forestdiffusion/model_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:deb579dc47ed88203c528cba9b98f7fef19e7b758ec3a005c113edaa4037473f
|
| 3 |
+
size 84544
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40b500cad8b6291c2dd897cd44f3305672e2caff01544bb597abb3ed059b1ca5
|
| 3 |
+
size 15817
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3ab5b0f41b5a22ace2c4304bf3b9c8cb3f0ab8d352bdc33f8ff631429bc9c85
|
| 3 |
+
size 7731470
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4f62d3011246e39610effe2bc2bf195b676554e12e24ba0fb27a112349c1ba6
|
| 3 |
+
size 61780661
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:596e7f65c18adcf2980f5fd952efc2bb45f10d968c1dbb1348839699a52adcf5
|
| 3 |
+
size 7731240
|
syntheticSuccess/n18/forestdiffusion/forest-n18-20260511_132123/train_20260511_132132.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e8ba0fc34ad722ddf52be135ac12f7b5fee84a99cd6a55935e1b3cdf483c58f
|
| 3 |
+
size 447
|