Add files using upload-large-folder tool
Browse files- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/_fd_X_host.npy +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/_fd_gen.py +8 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/_fd_meta_host.json +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/_fd_train.py +36 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/forest-m2-46873-20260511_130217.csv +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/gen_20260511_130217.log +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/input_snapshot.json +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/models_fd/model.joblib +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/public_gate/normalized_schema_snapshot.json +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/public_gate/public_gate_report.json +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/public_gate/staged_input_manifest.json +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/run_config.json +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/runtime_result.json +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/staged/forestdiffusion/adapter_report.json +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/staged/forestdiffusion/model_input_manifest.json +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/staged/public/staged_features.json +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/staged/public/test.csv +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/staged/public/train.csv +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/staged/public/val.csv +3 -0
- syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/train_20260511_130200.log +3 -0
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec859175d1cdae0ac965e0edef48997a6e5c1c5841bdb61befe42061e5ef5c4d
|
| 3 |
+
size 180352
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/_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/m2/forestdiffusion/forest-m2-20260511_130159/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(46873))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/m2/forestdiffusion/forest-m2-20260511_130159/forest-m2-46873-20260511_130217.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/_fd_meta_host.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46ae84d8677917586e4c8124c027191be6df53ff62d0276a226d8ba2111bea71
|
| 3 |
+
size 900
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/_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/m2/forestdiffusion/forest-m2-20260511_130159/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 12 |
+
with open(r'/work/output-Benchmark-trainonly-v1/m2/forestdiffusion/forest-m2-20260511_130159/_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/m2/forestdiffusion/forest-m2-20260511_130159/forestdiffusion_model.joblib')
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/forest-m2-46873-20260511_130217.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb2873fcd2d54444b2130ad91adeb6edd8e4b5aa22557ce3f618e275f33e089c
|
| 3 |
+
size 16482447
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba70340508f3f0bd88b20e2e7af0383a575cd0a2f9c097b9224b38e15d7cc8a0
|
| 3 |
+
size 11285869
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/gen_20260511_130217.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1c88b8965f5aa6b4fb88159d6941927f010b0e546019ad711634cf09a63d126
|
| 3 |
+
size 295
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/input_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7949b4c59ca87bc89d51dc24ab1bd3806577a25cddc918b24f3abe859f600aa9
|
| 3 |
+
size 1362
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba70340508f3f0bd88b20e2e7af0383a575cd0a2f9c097b9224b38e15d7cc8a0
|
| 3 |
+
size 11285869
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0fb5052492ee861d52ad1b492c5d1a2dedbf06d194d8aeafb51953de9534b028
|
| 3 |
+
size 19592
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b79ab92f54ef5b314717b7374a9cda8d74cce8a43ed3a393dd006286bec88825
|
| 3 |
+
size 936
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:051b17e691efe74d68e048facadd84e7e804a90d701e379ff40f323c2b1f37de
|
| 3 |
+
size 20433
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/run_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4effc65eb99f21eeca8c4cb417c333a070ee42ebe58b11692d6763e4ad912cb
|
| 3 |
+
size 2360
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/runtime_result.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81fd116391b93b780523bf6cdd242ec8343ff7c2f3ffd3fd0ed5efef83523540
|
| 3 |
+
size 923
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/staged/forestdiffusion/adapter_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8e570a72bc1c79f7cc71dc9f2eadcef63f203f9832599bf0ddf17c1b446a6b9
|
| 3 |
+
size 336
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/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/m2/forestdiffusion/forest-m2-20260511_130159/staged/forestdiffusion/model_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0cb7f36e5808f99ce2b8af395b077dd202448f6d210cb218299de854e1db257
|
| 3 |
+
size 20645
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a1cb02abaf420d49bbf426e8d98820cac1ee0712808f84e1add5f989702bfb5
|
| 3 |
+
size 4350
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3321107cd4eb2ecfc26606c36779c9c019cd8819078c2c782db9638870417ffb
|
| 3 |
+
size 1383062
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3466b221382fe7e20ef33c4b5b6eead0702d0c63fdea6706e18b9d1858a9066d
|
| 3 |
+
size 11072631
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f244b4756876af1cb6945def77c203f9ed6623a2356b198441f6acc066f3ab5d
|
| 3 |
+
size 1384259
|
syntheticSuccess/m2/forestdiffusion/forest-m2-20260511_130159/train_20260511_130200.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d7bd0c4264e01b375ed9bfc4d5598cfae06764d194e78bf22c3d6dab096e0c24
|
| 3 |
+
size 444
|