Add files using upload-large-folder tool
Browse files- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/_fd_X_host.npy +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/_fd_gen.py +8 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/_fd_meta_host.json +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/_fd_train.py +36 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/forest-m8-36168-20260506_045105.csv +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/gen_20260506_045105.log +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/input_snapshot.json +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/models_fd/model.joblib +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/public_gate/normalized_schema_snapshot.json +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/public_gate/public_gate_report.json +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/public_gate/staged_input_manifest.json +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/run_config.json +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/runtime_result.json +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/staged/forestdiffusion/adapter_report.json +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/staged/forestdiffusion/model_input_manifest.json +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/staged/public/staged_features.json +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/staged/public/test.csv +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/staged/public/train.csv +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/staged/public/val.csv +3 -0
- syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/train_20260506_045103.log +3 -0
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19689a29b7db49f458dde36a8be7e74ee096d0134dfc6d01cb0425e80ac18ad2
|
| 3 |
+
size 69760
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/_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/m8/forestdiffusion/forest-m8-20260506_045103/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(36168))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/m8/forestdiffusion/forest-m8-20260506_045103/forest-m8-36168-20260506_045105.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/_fd_meta_host.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c75869cd5d8c5dd0324c29cee000e1ad129d1c94fd3545db09ae9d081bb0e5e1
|
| 3 |
+
size 232
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/_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/m8/forestdiffusion/forest-m8-20260506_045103/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 12 |
+
with open(r'/work/output-Benchmark-trainonly-v1/m8/forestdiffusion/forest-m8-20260506_045103/_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/m8/forestdiffusion/forest-m8-20260506_045103/forestdiffusion_model.joblib')
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/forest-m8-36168-20260506_045105.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf142eb2539fa3e7d6597b66b92d4432dcfd752ec97da6ee2731901a5d941258
|
| 3 |
+
size 4953970
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8e8d50cb17cc21e98475209d4e80427db8a56fcd28ed90a24382abfea909ad7
|
| 3 |
+
size 443637
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/gen_20260506_045105.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b80ba12b25116c990e84eae2654b82c6c5771e846b5a71d7cacdfe498b657cfa
|
| 3 |
+
size 295
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/input_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac2a5415889027c5d876de9998d32a42ac2cf93b34e3ad9815b5c0a7357fbf46
|
| 3 |
+
size 1357
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8e8d50cb17cc21e98475209d4e80427db8a56fcd28ed90a24382abfea909ad7
|
| 3 |
+
size 443637
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d733310afeedb79582ccecc72b050f6a9a712817177584d3824924c50e502e38
|
| 3 |
+
size 7627
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d069ba59e0bad764d31cf1059ffe64fcc37d324eba6441fdff3756c384a2efd7
|
| 3 |
+
size 908
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:898fab26c1f4c2776f53101b090b9ecd9e04fa81458f85e588091de24d8f39ad
|
| 3 |
+
size 8468
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/run_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9cc836298ab8ecd64e7decf2e7a2fdfb0ec59d1340eea422ff3ae78f7376ee08
|
| 3 |
+
size 2376
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/runtime_result.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6cea5c96b2770fb66716a44ba6ca890fc5d00921a4bf7acdf44cc546fb9e719b
|
| 3 |
+
size 923
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/staged/forestdiffusion/adapter_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba90a9751c63983b0fce94c5c371a96761c9ba5d680e5021491732bc0bba0a3f
|
| 3 |
+
size 336
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/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/m8/forestdiffusion/forest-m8-20260506_045103/staged/forestdiffusion/model_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed17a36b9d690b61e971547a9282a921a88c9d9f76aa057ce4709ea0e6c66905
|
| 3 |
+
size 8680
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0cf7f5cbab67fd23b227d3d6dd45fee61797fb10d962495c5e6e65ae5dbcb5f0
|
| 3 |
+
size 1570
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6221943e422e75c8317b79b7ef93e9cd01f61fdd8de6ce42909a8e4610966310
|
| 3 |
+
size 370991
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9cbb71aa793de19869a138d41aea5808f772b31082741b185ffb8ca7b821833
|
| 3 |
+
size 2964802
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ee8612128aae92155906abc0fdc752ac24fd04d63c78c080c89e3900efe6525
|
| 3 |
+
size 370535
|
syntheticSuccess/m8/forestdiffusion/forest-m8-20260506_045103/train_20260506_045103.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d60291089b159a46f7833b6acb82ed85f9741c64a69cc29dc5adae57a0c9b3c8
|
| 3 |
+
size 444
|