Add files using upload-large-folder tool
Browse files- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/_fd_X_host.npy +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/_fd_gen.py +8 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/_fd_meta_host.json +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/_fd_train.py +36 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/forest-c15-480000-20260511_053053.csv +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/gen_20260511_053053.log +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/input_snapshot.json +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/models_fd/model.joblib +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/public_gate/normalized_schema_snapshot.json +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/public_gate/public_gate_report.json +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/public_gate/staged_input_manifest.json +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/run_config.json +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/runtime_result.json +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/staged/forestdiffusion/adapter_report.json +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/staged/forestdiffusion/model_input_manifest.json +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/staged/public/staged_features.json +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/staged/public/test.csv +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/staged/public/train.csv +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/staged/public/val.csv +3 -0
- syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/train_20260511_040404.log +3 -0
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a8d5f761d632092c1c323d0b95710b016b0d6267fb1ec9bb2f0926618d8b48a
|
| 3 |
+
size 102528
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/_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/c15/forestdiffusion/forest-c15-20260511_040356/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(480000))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/c15/forestdiffusion/forest-c15-20260511_040356/forest-c15-480000-20260511_053053.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/_fd_meta_host.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ddb04241bc6ea446d04ea970bb474b8c2a40a40ccb2818fc7354047c31b53531
|
| 3 |
+
size 318
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/_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/c15/forestdiffusion/forest-c15-20260511_040356/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 12 |
+
with open(r'/work/output-Benchmark-trainonly-v1/c15/forestdiffusion/forest-c15-20260511_040356/_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/c15/forestdiffusion/forest-c15-20260511_040356/forestdiffusion_model.joblib')
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/forest-c15-480000-20260511_053053.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:264b44e05c60e7f123a2af4bd7353ed794bab02fd55e77c41e2792fa92e9fe2d
|
| 3 |
+
size 90222001
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db96e2d9bec03e9cc497b0b1c9795ca509ef4bdf47dd116fa9147903f710d48e
|
| 3 |
+
size 45178767
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/gen_20260511_053053.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8893b05931fc9b485f990a4c598bbc8e98e8173844cae3eec7608e67b07ae17b
|
| 3 |
+
size 300
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/input_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c7119afc5ca8ceaaa43ad842bca34e3f1379bea97090eaee7ee531df9b0e7d1
|
| 3 |
+
size 1372
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db96e2d9bec03e9cc497b0b1c9795ca509ef4bdf47dd116fa9147903f710d48e
|
| 3 |
+
size 45178767
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e18dc098fd61958a51c24594cd5bad03aad3e07a097380b3aa9d6351ee18824a
|
| 3 |
+
size 11438
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c491eb29211dbb52507826c49cabccf8fe3583c072f7f08822b86a2769181aad
|
| 3 |
+
size 920
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70601ad942ab68a7e29145b704a05eaa05ae3401bf387328a1955153f7ee4da2
|
| 3 |
+
size 12289
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/run_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c97c5e61d98d334bbbcf76c11fc0038dcae43a4fc65ff92ea7adc1ca773946c2
|
| 3 |
+
size 2358
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/runtime_result.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df1dac472d82bc517e3d8353fd2da598d9945b8a0175fe64b34a619b10a48452
|
| 3 |
+
size 938
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/staged/forestdiffusion/adapter_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0768764ba1cc1b63ed77ced7fa0a683a197f0843e2e6b082869c68f697e946cc
|
| 3 |
+
size 338
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/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/c15/forestdiffusion/forest-c15-20260511_040356/staged/forestdiffusion/model_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4cccc44672a96b843e4e407c0e95ccd337e8d648b7126db6b631e2588c1513f
|
| 3 |
+
size 12503
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d5884fb0f913ab783893461f45f8c28269069b45754d30e21de3ff7da579227
|
| 3 |
+
size 2300
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e68fec0fb16fb89b5e58bbb7949b744ebd11f8bf7b1d0c7aad908b17a2afb72
|
| 3 |
+
size 8530452
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e60fda0bb5a782d4e6917157f5a204d44e8e15de208c863574afc98855561477
|
| 3 |
+
size 68240502
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db13b576ba5284f2712b174f1b4445147bcb12fa295a4e38a1dc269d999d09fa
|
| 3 |
+
size 8528882
|
syntheticSuccess/c15/forestdiffusion/forest-c15-20260511_040356/train_20260511_040404.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65c8d48797387a7780e4a04b3478acc82c46f4fda9fa9e976fbd79c37175a0f8
|
| 3 |
+
size 447
|