Add files using upload-large-folder tool
Browse files- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/_fd_X_host.npy +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/_fd_gen.py +8 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/_fd_meta_host.json +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/_fd_train.py +36 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/forest-c19-32759-20260511_190121.csv +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/gen_20260511_190121.log +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/input_snapshot.json +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/models_fd/model.joblib +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/public_gate/normalized_schema_snapshot.json +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/public_gate/public_gate_report.json +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/public_gate/staged_input_manifest.json +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/run_config.json +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/runtime_result.json +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/staged/forestdiffusion/adapter_report.json +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/staged/forestdiffusion/model_input_manifest.json +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/staged/public/staged_features.json +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/staged/public/test.csv +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/staged/public/train.csv +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/staged/public/val.csv +3 -0
- syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/train_20260511_185053.log +3 -0
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cace300c08e74293b234fc2392042bf1d4fc4b3668f45380e0ba02bafd4e10e3
|
| 3 |
+
size 65664
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/_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/c19/forestdiffusion/forest-c19-20260511_185049/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(32759))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/c19/forestdiffusion/forest-c19-20260511_185049/forest-c19-32759-20260511_190121.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/_fd_meta_host.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:100100b8f69de3e9308a21da33af087b25f37f172efffbb5b302dd0654999ca5
|
| 3 |
+
size 314
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/_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/c19/forestdiffusion/forest-c19-20260511_185049/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 12 |
+
with open(r'/work/output-Benchmark-trainonly-v1/c19/forestdiffusion/forest-c19-20260511_185049/_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/c19/forestdiffusion/forest-c19-20260511_185049/forestdiffusion_model.joblib')
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/forest-c19-32759-20260511_190121.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2bfc8a27349276761d3c86f89bd53a8a3be1220a6e6178e76592c0e98ad3c30e
|
| 3 |
+
size 3892295
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c6355e73f8422a33df7e1f66dcbae4180021d1c41ebde9cd10ba7fdda61d6f5
|
| 3 |
+
size 63394176
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/gen_20260511_190121.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd4994a91856d9f095ec43f28e3e8a2b5678a589af299f25c07fe33440ba64dc
|
| 3 |
+
size 295
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/input_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4196188dfdab42ad953e500c268b60ba4d80ee2a8a5186566d12189b2dc1cbb
|
| 3 |
+
size 1373
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c6355e73f8422a33df7e1f66dcbae4180021d1c41ebde9cd10ba7fdda61d6f5
|
| 3 |
+
size 63394176
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29277905718aadff6392f1a493cc90a009209da285eb3c9cfaa6ed315532ed07
|
| 3 |
+
size 15890
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f3b9879993ec6898672e12c529e80204564945d19d90073329035241094707d
|
| 3 |
+
size 925
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0afbce954f42af4b1228703804b77b093feec46254533915875821248c6b7870
|
| 3 |
+
size 16741
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/run_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a04a094348de3d92e325887d1792263a63bc368a6602d7835db0b152d17623a7
|
| 3 |
+
size 2361
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/runtime_result.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2d99338848b52482865f2c1a89f57c631f274836897b4959950788aa39f28d2
|
| 3 |
+
size 933
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/staged/forestdiffusion/adapter_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9055c793934ea5af2d08222222525d8a2cb01e51be6b690056c94845e15953cd
|
| 3 |
+
size 338
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/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/c19/forestdiffusion/forest-c19-20260511_185049/staged/forestdiffusion/model_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8e80363fedbbc2e1392aeb426d5e4af05b3d273dedc378d48745793ad61a4d6
|
| 3 |
+
size 16955
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a57a0c3c2a45c85e74d4496ad733ad7f30b2615f97be5155850895fee1727948
|
| 3 |
+
size 1564
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd9c98343a92c7b1afe63b402f07b9a55013adbfcc60ec1e17d5e026385eeec8
|
| 3 |
+
size 6304860
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:092346325db7f445db2c00d2f5dd9a8397ecc33eaba7b2b14d9d48d92659fcfc
|
| 3 |
+
size 51459027
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69c75639e81916d3b4f2a28db38d7e15c78e442748aa5bf9fed2eb3784912a70
|
| 3 |
+
size 6331589
|
syntheticSuccess/c19/forestdiffusion/forest-c19-20260511_185049/train_20260511_185053.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4735f21e803763e0cd2af1487ca7db54027cb729e5017660864183bb4f6ff39
|
| 3 |
+
size 445
|