Add files using upload-large-folder tool
Browse files- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/_fd_X_host.npy +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/_fd_gen.py +8 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/_fd_meta_host.json +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/_fd_train.py +36 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/forest-c17-7045-20260510_210130.csv +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/gen_20260510_210130.log +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/input_snapshot.json +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/models_fd/model.joblib +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/public_gate/normalized_schema_snapshot.json +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/public_gate/public_gate_report.json +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/public_gate/staged_input_manifest.json +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/run_config.json +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/runtime_result.json +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/staged/forestdiffusion/adapter_report.json +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/staged/forestdiffusion/model_input_manifest.json +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/staged/public/staged_features.json +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/staged/public/test.csv +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/staged/public/train.csv +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/staged/public/val.csv +3 -0
- syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/train_20260510_205336.log +3 -0
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04b731e087b51068400440036701663f032fb0ce851be1a12fc76e2b40093711
|
| 3 |
+
size 49280
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/_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/c17/forestdiffusion/forest-c17-20260510_205336/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(7045))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/c17/forestdiffusion/forest-c17-20260510_205336/forest-c17-7045-20260510_210130.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/_fd_meta_host.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d09ba15dabdb650acd9fd2a27eabad6a2127d794d605da5514cb5af156550963
|
| 3 |
+
size 205
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/_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/c17/forestdiffusion/forest-c17-20260510_205336/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 12 |
+
with open(r'/work/output-Benchmark-trainonly-v1/c17/forestdiffusion/forest-c17-20260510_205336/_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/c17/forestdiffusion/forest-c17-20260510_205336/forestdiffusion_model.joblib')
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/forest-c17-7045-20260510_210130.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39ae2814079b9a4917e2d17c15a4e479e68e7bad6d44efe40395dcf3cf36df05
|
| 3 |
+
size 587103
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f40e2ad4c9a860b6c060b252c689e7cb3a93ed0c8e2ae9373c2e8a17fe9e28d2
|
| 3 |
+
size 58402228
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/gen_20260510_210130.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea669dbc22859d95242d04f9de3cf4110beaf7eda8b4edbff5594df7074878e6
|
| 3 |
+
size 294
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/input_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ff974f14a60a64bc72d74f4a0c9a041803875d7e544ce39daf377039fc9308e
|
| 3 |
+
size 1368
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f40e2ad4c9a860b6c060b252c689e7cb3a93ed0c8e2ae9373c2e8a17fe9e28d2
|
| 3 |
+
size 58402228
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f2b9984b0a33654cf720f498ba1ccd9b4def28566a948ac31a5bdcf56202ec2
|
| 3 |
+
size 7045
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c6e934422f8b01cf20772d977399c59222ea260769ab3f29765a74ff4a19dbe
|
| 3 |
+
size 918
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:567a20b687ddc123857dc6186ddbf9529eb34feed3936b9d072b2372ac9671aa
|
| 3 |
+
size 7896
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/run_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:736ae6d0f89aa3fde1ee500463c3c5ba66ec2b5edd7b63cf32bf2d5c5100a51d
|
| 3 |
+
size 2352
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/runtime_result.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d4c85317fb4b98a581f0f78300b8e95d6f8f1fbb606175ce42d3db4bc3ca026
|
| 3 |
+
size 931
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/staged/forestdiffusion/adapter_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed677da2485843f55ef631aa9b5ec513e5b73da82d06500b675428001195a82e
|
| 3 |
+
size 338
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/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/c17/forestdiffusion/forest-c17-20260510_205336/staged/forestdiffusion/model_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:141ef8025304b8c7b895f0152a63d203a8b1b51c597a233d7078d96432292163
|
| 3 |
+
size 8110
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:397b72d4ec08187fac7f4cc0c20fafec4f07478c059ef5c6393fa0e68204af4e
|
| 3 |
+
size 1111
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9f567ce7dc617caa6a1f54059d6e92185996eef4edeee0dc3704c9e7c40bf63
|
| 3 |
+
size 339093
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:788ecf6df79b06c0c0e1c73269eae885e0862c7ad79baf15e72895b3b13032e7
|
| 3 |
+
size 2719568
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08456e9ce46be6e184eefbd889ca81bd16877e740f0e40c8dbadd4418f95fa86
|
| 3 |
+
size 341126
|
syntheticSuccess/c17/forestdiffusion/forest-c17-20260510_205336/train_20260510_205336.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81d451c06fb7c3933c7a3ce774d72026c00bbf4f25dc7b4bafe7d92e36247282
|
| 3 |
+
size 446
|