Add files using upload-large-folder tool
Browse files- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_fd_X_host.npy +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_fd_gen.py +8 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_fd_meta_host.json +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_fd_train.py +36 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/forest-c12-2623-20260511_135003.csv +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/gen_20260511_135003.log +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/input_snapshot.json +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/models_fd/model.joblib +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/public_gate/normalized_schema_snapshot.json +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/public_gate/public_gate_report.json +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/public_gate/staged_input_manifest.json +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/run_config.json +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/runtime_result.json +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/forestdiffusion/adapter_report.json +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/forestdiffusion/model_input_manifest.json +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/staged_features.json +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/test.csv +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/train.csv +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/val.csv +3 -0
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/train_20260511_134923.log +3 -0
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c0524ef0538f74865474b324a5b1169fe8665c373739e79172e9f5d9b070332
|
| 3 |
+
size 6385792
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_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/c12/forestdiffusion/forest-c12-20260511_134918/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(2623))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/c12/forestdiffusion/forest-c12-20260511_134918/forest-c12-2623-20260511_135003.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_fd_meta_host.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d0badf185af924126dfa02e78cd9aa7a143acc60ecea4db72d6f30a93dcd7ef
|
| 3 |
+
size 38854
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_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/c12/forestdiffusion/forest-c12-20260511_134918/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 12 |
+
with open(r'/work/output-Benchmark-trainonly-v1/c12/forestdiffusion/forest-c12-20260511_134918/_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/c12/forestdiffusion/forest-c12-20260511_134918/forestdiffusion_model.joblib')
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/forest-c12-2623-20260511_135003.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b666a405d90acd67673d0d0c6c8611b5ad4e60614be07f0a640e8dd407133c9e
|
| 3 |
+
size 16469310
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c44a247145080a9e5fe7d326ff632b0ca7e9d74891b29c1e7a1080fc03d1efa8
|
| 3 |
+
size 15786962
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/gen_20260511_135003.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2cb706acc271449534deab62dded6d275025c7875af053a9f35d6c6aed6ad1c4
|
| 3 |
+
size 294
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/input_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3dc63181dd2015a7317915b350c38aaba4d4afe6c3dfa68d6fedc4aafd8b56bf
|
| 3 |
+
size 1375
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c44a247145080a9e5fe7d326ff632b0ca7e9d74891b29c1e7a1080fc03d1efa8
|
| 3 |
+
size 15786962
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdd47237e86fffcbc722042f72d26f86f453f1276e6e18decf09dddb9f7d12ad
|
| 3 |
+
size 657619
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db44536c0e96576047e7609aa7d3a96f2a3cbca8946e96ed74f8c7bf52e45cd4
|
| 3 |
+
size 919
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8435d81485e2ce33e96ffa20fcd51ed8d1e2bc2ea7f34e2c365b4b0e558e524c
|
| 3 |
+
size 658470
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/run_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79aeff4a8b16256880f37c4e655aaf20b3035af46e234dcbf280aa3458484076
|
| 3 |
+
size 2353
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/runtime_result.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34d9c8835e60dbbd0c54c2c19000c03b608275bcbde91c97d7e075e32e5c583e
|
| 3 |
+
size 929
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/forestdiffusion/adapter_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a837f9a93eecc1b8902b5ba3a0190c1040b1a4151775f21f4181f30e4c425f4e
|
| 3 |
+
size 338
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/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/c12/forestdiffusion/forest-c12-20260511_134918/staged/forestdiffusion/model_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e0242babbb2e301b18ccc9087d07bad8e914ebd264fe67b0fa4940dfa22ee26
|
| 3 |
+
size 658684
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4d0d98b86ca46b032dbc651380d625e2d7600f5251a60811bb81e1a6c5af70e
|
| 3 |
+
size 161608
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:377cdc71dcb1451916e4b052f69dcae90c8648105e3d82016bc74348443e25be
|
| 3 |
+
size 4125897
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c75114f21bd2661465a1c07af94f5249e6d47d50230c60699e74843acb77c74
|
| 3 |
+
size 32713969
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9db0022070ad285c003e836f1ec85618f79abd9f38c8801581bbccba183f91eb
|
| 3 |
+
size 4101090
|
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/train_20260511_134923.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a619dcae72b96e101aa0399287a35b199c82ab0c7d67ee4237281cbd238d0c12
|
| 3 |
+
size 447
|