Add files using upload-large-folder tool
Browse files- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/_fd_X_host.npy +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/_fd_gen.py +8 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/_fd_meta_host.json +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/_fd_train.py +36 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/forest-c14-240000-20260505_232632.csv +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/gen_20260505_232632.log +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/input_snapshot.json +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/models_fd/model.joblib +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/public_gate/normalized_schema_snapshot.json +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/public_gate/public_gate_report.json +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/public_gate/staged_input_manifest.json +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/run_config.json +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/runtime_result.json +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/staged/forestdiffusion/adapter_report.json +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/staged/forestdiffusion/model_input_manifest.json +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/staged/public/staged_features.json +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/staged/public/test.csv +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/staged/public/train.csv +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/staged/public/val.csv +3 -0
- syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/train_20260505_211220.log +3 -0
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb7fc43d434cbc1359eb3bff2c07c0281b2bcaacf7cb156a289de90b1d04ed7a
|
| 3 |
+
size 102528
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/_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/c14/forestdiffusion/forest-c14-20260505_211215/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(240000))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/c14/forestdiffusion/forest-c14-20260505_211215/forest-c14-240000-20260505_232632.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/_fd_meta_host.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2341f2cdcebe3a79e66ac082b462328c67d7f57aec73564313a848e6403fe3fc
|
| 3 |
+
size 327
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/_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/c14/forestdiffusion/forest-c14-20260505_211215/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 12 |
+
with open(r'/work/output-Benchmark-trainonly-v1/c14/forestdiffusion/forest-c14-20260505_211215/_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=5 duplicate_K=1 n_jobs=1 "
|
| 25 |
+
f"max_depth=2 xgb_verbosity=1",
|
| 26 |
+
flush=True,
|
| 27 |
+
)
|
| 28 |
+
m = ForestDiffusionModel(
|
| 29 |
+
X, n_t=2, n_estimators=5, duplicate_K=1, n_jobs=1,
|
| 30 |
+
model="xgboost", max_depth=2, tree_method="hist", cat_indexes=cat_indexes,
|
| 31 |
+
verbosity=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/c14/forestdiffusion/forest-c14-20260505_211215/forestdiffusion_model.joblib')
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/forest-c14-240000-20260505_232632.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9954b21007086b55d87e0f51297cf04dda6ce3fee98ee858c1711c77382aced
|
| 3 |
+
size 38389377
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20dbdb44af486cf262aa0614ec4d967953eed6f3da8f16db3b62a194138dc4ba
|
| 3 |
+
size 54389733
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/gen_20260505_232632.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6056ddbc113d28ce1073fcd5930fd0ddb40066116a7a2a49cf7801fc2a148b8f
|
| 3 |
+
size 297
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/input_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58c447a302797f0e10ff590e3456ed963c54b38c29e86e1938f1ff0d428606f3
|
| 3 |
+
size 1372
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20dbdb44af486cf262aa0614ec4d967953eed6f3da8f16db3b62a194138dc4ba
|
| 3 |
+
size 54389733
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e559ea7c300bee8dca838c3419b8517cfe17c153470e56a6f1c1fab72b7a10b
|
| 3 |
+
size 11306
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:465dc423a1ca46fea5f39f1b0c83b6cce2c16cdb3be3f582e8ce20fbce674981
|
| 3 |
+
size 920
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af1f677c9a5195063f2f9aad95379bf26d10f7066e97f80a8aa8b130ac5eeaeb
|
| 3 |
+
size 12157
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/run_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac1186f6014b902700204735df3ca59a4992a47cd58d50f923db69a46f9ed88a
|
| 3 |
+
size 2276
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/runtime_result.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8d7c97aec69c4a59edeb7c6f7fdfa763643b67b552e2ceae46e1870238e7cdb
|
| 3 |
+
size 935
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/staged/forestdiffusion/adapter_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71cfb4b3693fe2fab6c1741f468b0c9268dc81f806a4ac52b5104cf65ed8a4f1
|
| 3 |
+
size 338
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/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/c14/forestdiffusion/forest-c14-20260505_211215/staged/forestdiffusion/model_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48164dbe68cea60a268e8732129ff1b7aa66db1ee7c99060d3b813912842aa77
|
| 3 |
+
size 12371
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c92cf6530ea76cef171daa9d723513c36aafe5dc5d8f5dfc27778090e2b0c03
|
| 3 |
+
size 2288
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:617ecb620416375c67546e0fa5a8b9a3923d689bda904dc23824ea175d1f8597
|
| 3 |
+
size 3965839
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12398ccb68a2499b9c126f61b25f03c36a65f026d755e1d5ff5653e614676167
|
| 3 |
+
size 31717079
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f40dbd7bbd9e2783c24d0d12ec35a85581835d45238774eb0676de44a734feda
|
| 3 |
+
size 3965919
|
syntheticSuccess/c14/forestdiffusion/forest-c14-20260505_211215/train_20260505_211220.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:94720dfed79d4ac069e9f9ebfdfac29dce3d13dfe12418a6c6350a7c70ff4c7a
|
| 3 |
+
size 433
|