Add files using upload-large-folder tool
Browse files- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/_fd_X_host.npy +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/_fd_gen.py +8 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/_fd_meta_host.json +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/_fd_train.py +36 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/forest-c3-2551-20260510_205255.csv +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/gen_20260510_205255.log +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/input_snapshot.json +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/models_fd/model.joblib +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/public_gate/normalized_schema_snapshot.json +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/public_gate/public_gate_report.json +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/public_gate/staged_input_manifest.json +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/run_config.json +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/runtime_result.json +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/staged/forestdiffusion/adapter_report.json +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/staged/forestdiffusion/model_input_manifest.json +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/staged/public/staged_features.json +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/staged/public/test.csv +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/staged/public/train.csv +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/staged/public/val.csv +3 -0
- syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/train_20260510_205205.log +3 -0
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6c0ab85403e08a541c3dafb6f36ccc485124ecb181c863747fca1a841c5f873
|
| 3 |
+
size 12416
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/_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/c3/forestdiffusion/forest-c3-20260510_205205/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(2551))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/c3/forestdiffusion/forest-c3-20260510_205205/forest-c3-2551-20260510_205255.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/_fd_meta_host.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:837b0b1391ef3f318a9166487fb8a278cd1e0414b76bfd80f5a258d1f5ee2d49
|
| 3 |
+
size 131
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/_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/c3/forestdiffusion/forest-c3-20260510_205205/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 12 |
+
with open(r'/work/output-Benchmark-trainonly-v1/c3/forestdiffusion/forest-c3-20260510_205205/_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/c3/forestdiffusion/forest-c3-20260510_205205/forestdiffusion_model.joblib')
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/forest-c3-2551-20260510_205255.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:213dbf6b0f89de328ee635b8bb71450c562910a88112f130732aea4d937ce5ae
|
| 3 |
+
size 65517
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ecbc4c89ad8b14c17349b17e0f7d82de889bf6b1f1849056a588d75d962370c
|
| 3 |
+
size 20153374
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/gen_20260510_205255.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b45068f77a780fafd4bd413c89f34b8da2569d172fa17a04cc4b57da97f3abac
|
| 3 |
+
size 294
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/input_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73456f224f4b3ead4aa51dfb80e03a6c4b38763068096191598932397a885c32
|
| 3 |
+
size 1354
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ecbc4c89ad8b14c17349b17e0f7d82de889bf6b1f1849056a588d75d962370c
|
| 3 |
+
size 20153374
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1989de280ade79c2a098ec844e8d7435e09044b8d1e0f4d67e45cdb8248aadd
|
| 3 |
+
size 1844
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4b6b884e578ab568213280a087fd4b5324a950ca9ce09a1adf4dded450e74d9
|
| 3 |
+
size 909
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e36bc2aebd7f24f62767393f1d708a84109e55362e6892d82e89c786cf065401
|
| 3 |
+
size 2685
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/run_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a106236eb7d6619ca9f41399398416c86675c7b97d22430e0bf7a40dc773a776
|
| 3 |
+
size 2331
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/runtime_result.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59b273ce1598efc8439597f9d42ecfea4402bc9d825ca9d86128becd28c437fb
|
| 3 |
+
size 922
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/staged/forestdiffusion/adapter_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:514e6b2efb94a50936b5da8302e8058e654e43a88d61b176ab11561e3e1799c6
|
| 3 |
+
size 336
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/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/c3/forestdiffusion/forest-c3-20260510_205205/staged/forestdiffusion/model_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4baf90de851d8e2e310fcae0bef0a7372a413f9539c2c546b51abdb2b3a023ed
|
| 3 |
+
size 2897
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f45b293cb8be18ee85391049137583e63160e3c3170d88b98fb4b2cb6a951014
|
| 3 |
+
size 325
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be0c5bad6c59669b0f6ea2a0c953d0bb03ce62ce625357b1b136eabc2de34d99
|
| 3 |
+
size 26550
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4b86543124166673bed177c1bb1e1806d04bbc8aaaa2c545b57c7b538aad82c
|
| 3 |
+
size 210774
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db595b372b40df454d8ad8152b81c613321b79f80033c020da635825581237ea
|
| 3 |
+
size 26486
|
syntheticSuccess/c3/forestdiffusion/forest-c3-20260510_205205/train_20260510_205205.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df54a2f64c2d776c9c81e14ef57841bab38e697cb5e241fca7274371f123eb88
|
| 3 |
+
size 444
|