Add files using upload-large-folder tool
Browse files- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/_fd_X_host.npy +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/_fd_gen.py +8 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/_fd_meta_host.json +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/_fd_train.py +36 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/forest-c16-5516-20260510_215647.csv +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/gen_20260510_215647.log +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/input_snapshot.json +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/models_fd/model.joblib +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/public_gate/normalized_schema_snapshot.json +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/public_gate/public_gate_report.json +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/public_gate/staged_input_manifest.json +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/run_config.json +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/runtime_result.json +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/staged/forestdiffusion/adapter_report.json +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/staged/forestdiffusion/model_input_manifest.json +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/staged/public/staged_features.json +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/staged/public/test.csv +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/staged/public/train.csv +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/staged/public/val.csv +3 -0
- syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/train_20260510_210146.log +3 -0
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a428390bacc3672ecfaa55b3fac02110b6df412d411b5e6fef871e134befee94
|
| 3 |
+
size 53376
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/_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/c16/forestdiffusion/forest-c16-20260510_210146/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(5516))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/c16/forestdiffusion/forest-c16-20260510_210146/forest-c16-5516-20260510_215647.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/_fd_meta_host.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c8f8470f4308f49331bdbef4d47d1e94b611e2105c4907605a98dafde3dff58
|
| 3 |
+
size 189
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/_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/c16/forestdiffusion/forest-c16-20260510_210146/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 12 |
+
with open(r'/work/output-Benchmark-trainonly-v1/c16/forestdiffusion/forest-c16-20260510_210146/_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/c16/forestdiffusion/forest-c16-20260510_210146/forestdiffusion_model.joblib')
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/forest-c16-5516-20260510_215647.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:180b8a48fe4692e741adb67135b5e12899406ef958f0be99edc7c0ea1425fb96
|
| 3 |
+
size 528132
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe1ae9aadceb50b1c5adc40ad5598a2242108ffa5b84c361ffefd21ff6ddcfd0
|
| 3 |
+
size 42243613
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/gen_20260510_215647.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d7d53f7507e38d82259dbe4f7c972964fc636e3e368eb60533d53cd795bdd1c9
|
| 3 |
+
size 296
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/input_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5370d5fe7f99123fbd0c89425c9f625de8a0fcf9b5dd5b89a91416b419678d66
|
| 3 |
+
size 1367
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe1ae9aadceb50b1c5adc40ad5598a2242108ffa5b84c361ffefd21ff6ddcfd0
|
| 3 |
+
size 42243613
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59123b3e4d52c872a7c33c2c57cbfdf4deebe157f32cc8e90c6583a91838c380
|
| 3 |
+
size 6486
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f4b4b8d0145c27289d4bacb8622b9b6efa60b92f86dcdc87c34f35bd7331826
|
| 3 |
+
size 917
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbf6ac9008cac21c5585391b34a8f185a0dc7d6518d7dabaaffa8082fd39f7b9
|
| 3 |
+
size 7337
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/run_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1202e0d77a8e9b4069ef209ffc8e32d87e17cc3d4b6467af0f44be18ca19ee05
|
| 3 |
+
size 2351
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/runtime_result.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8eacef8756368a862781395356cc1716ea68eec0cdf0884547d992a29b3c7c0f
|
| 3 |
+
size 934
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/staged/forestdiffusion/adapter_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58cdf993c21af5b6de56e796b765a62aecb6f1821ad06ef8ff3bb001d516b40b
|
| 3 |
+
size 338
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/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/c16/forestdiffusion/forest-c16-20260510_210146/staged/forestdiffusion/model_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92e73f9815da842f195250e6c5634757facfcd88ef7da45b1181701633224bc5
|
| 3 |
+
size 7551
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fc71bd75b722561160d27b10aaf0f00f1b99e0bd5cfcea490196e019adadf2f
|
| 3 |
+
size 1196
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:507d848740a1690656f8cdb841697266450f944c4a567ba0bcf3186a4e58b754
|
| 3 |
+
size 113806
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be0950091b8a4c774fc54ff9926cf4e8b86b23efd5ec8e83b5592c72658ae351
|
| 3 |
+
size 905642
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5a1815f0bdd0db2721a9d7bc2f1f0008829eaf9ff3d07e3d1975b42002cf744
|
| 3 |
+
size 113063
|
syntheticSuccess/c16/forestdiffusion/forest-c16-20260510_210146/train_20260510_210146.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cad0f10b1e7a92febe3dd8e4769c87d71f884c5733887a28824cf646ee2605c7
|
| 3 |
+
size 447
|