Add files using upload-large-folder tool
Browse files- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/_fd_X_host.npy +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/_fd_gen.py +8 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/_fd_meta_host.json +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/_fd_train.py +36 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/forest-n17-11600-20260510_205325.csv +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/gen_20260510_205325.log +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/input_snapshot.json +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/models_fd/model.joblib +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/public_gate/normalized_schema_snapshot.json +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/public_gate/public_gate_report.json +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/public_gate/staged_input_manifest.json +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/run_config.json +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/runtime_result.json +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/staged/forestdiffusion/adapter_report.json +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/staged/forestdiffusion/model_input_manifest.json +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/staged/public/staged_features.json +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/staged/public/test.csv +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/staged/public/train.csv +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/staged/public/val.csv +3 -0
- syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/train_20260510_205323.log +3 -0
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca3f1642a71bfbfd34fd382969b6f3cc18f7981b650c1998cdeb05b2f0326301
|
| 3 |
+
size 41088
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/_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/n17/forestdiffusion/forest-n17-20260510_205323/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(11600))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/n17/forestdiffusion/forest-n17-20260510_205323/forest-n17-11600-20260510_205325.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/_fd_meta_host.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ccd19e035ccf35dd8d16aef8c3d49b88d7b9ac6a5fdd972240322d51a2471b1f
|
| 3 |
+
size 166
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/_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/n17/forestdiffusion/forest-n17-20260510_205323/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 12 |
+
with open(r'/work/output-Benchmark-trainonly-v1/n17/forestdiffusion/forest-n17-20260510_205323/_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/n17/forestdiffusion/forest-n17-20260510_205323/forestdiffusion_model.joblib')
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/forest-n17-11600-20260510_205325.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:834d61d949f68338f08cd93304865260e4da5cf838ee194c084b4802401df0f2
|
| 3 |
+
size 1553292
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c94c9cdd44360ff4cc952ecec9b2ef17e00e17006ce9112e53992e5479bc4d4
|
| 3 |
+
size 69098
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/gen_20260510_205325.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc48509633e10b06e339d2e229999042fca74ae5edc00ca2ca639bdc22076d72
|
| 3 |
+
size 295
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/input_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e8fcd35bbcd5b9c7766ffda7f0c368875993cdeff36985c304a24b0f123d101
|
| 3 |
+
size 1365
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c94c9cdd44360ff4cc952ecec9b2ef17e00e17006ce9112e53992e5479bc4d4
|
| 3 |
+
size 69098
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46d581404aea0fcdc8875aec9ad8cd6dc3cd2b1aa28b0863a8a3b478386b6c6a
|
| 3 |
+
size 4649
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2cddbfd0155b58153fb0acfbb103bc08c85970d87c9cb016cd776a9e547281f
|
| 3 |
+
size 919
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48ce074769f13218c01f6b5aa87aa07365cef4cbb3bba1846d1fcb68dac7cbae
|
| 3 |
+
size 5500
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/run_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:130ccb21109ea27598690eb8113146e2783d8ab278d8a67ee6839aba7c47f173
|
| 3 |
+
size 2355
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/runtime_result.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f8f8f7076600757a51d772d4d7fefcfeab7a37f351f83c5b13d8a21444ef535
|
| 3 |
+
size 930
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/staged/forestdiffusion/adapter_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:97f9ef8704371417fc064aa2496a5f387f642b4075d61f8c00e6bb59cd073d77
|
| 3 |
+
size 338
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/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/n17/forestdiffusion/forest-n17-20260510_205323/staged/forestdiffusion/model_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f97809d509192d2335995a7f5620350851ec3904ef421ffe2520e9523280859
|
| 3 |
+
size 5714
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76e397b4053cfc82d5e8422d0583f157bf27d118ba5cf68394b2b4837c6ea526
|
| 3 |
+
size 960
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5efaac201d71f432cdd71c81d2b240ee41c5df078835b26188033662f8d201af
|
| 3 |
+
size 38581
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:373383578478c8df244051d26a774f0126f89a64fbb8b53842ed634266dc32fa
|
| 3 |
+
size 307507
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:836ea0bab67a27cd05e1bd0251ccb57666f70fa3df26d42fe4ecb971b84d0125
|
| 3 |
+
size 38466
|
syntheticSuccess/n17/forestdiffusion/forest-n17-20260510_205323/train_20260510_205323.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1feb75a3998729f41ce91c08f9f2c0c2f8df6a87d7d7cce605170268a8c82a55
|
| 3 |
+
size 444
|