Add files using upload-large-folder tool
Browse files- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/_fd_X_host.npy +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/_fd_gen.py +8 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/_fd_meta_host.json +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/_fd_train.py +36 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/forest-m12-95512-20260511_125345.csv +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/gen_20260511_125345.log +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/input_snapshot.json +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/models_fd/model.joblib +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/public_gate/normalized_schema_snapshot.json +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/public_gate/public_gate_report.json +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/public_gate/staged_input_manifest.json +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/run_config.json +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/runtime_result.json +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/staged/forestdiffusion/adapter_report.json +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/staged/forestdiffusion/model_input_manifest.json +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/staged/public/staged_features.json +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/staged/public/test.csv +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/staged/public/train.csv +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/staged/public/val.csv +3 -0
- syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/train_20260511_124709.log +3 -0
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9fdbf53a9310a2e6e9c455679821dd8ec804ef51a62fababef65f5cb83c0e1a
|
| 3 |
+
size 131200
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/_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/m12/forestdiffusion/forest-m12-20260511_124708/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(95512))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/m12/forestdiffusion/forest-m12-20260511_124708/forest-m12-95512-20260511_125345.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/_fd_meta_host.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ae09aaf2f0960c1eca34899b780c5daae53fcff9f4cf132d38189ed3a953c07
|
| 3 |
+
size 718
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/_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/m12/forestdiffusion/forest-m12-20260511_124708/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 12 |
+
with open(r'/work/output-Benchmark-trainonly-v1/m12/forestdiffusion/forest-m12-20260511_124708/_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/m12/forestdiffusion/forest-m12-20260511_124708/forestdiffusion_model.joblib')
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/forest-m12-95512-20260511_125345.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11300728759922dbe7babbc7b23a18f7e72c5f4c9214a9dec15e451817ec5d97
|
| 3 |
+
size 25129289
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8ad9f15849fb6c316a5e6b250ff8956be958812fce537370c254ef7904634ac
|
| 3 |
+
size 11551400
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/gen_20260511_125345.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee97027bd9bc8040c74bb6902e543574e79749fba6e5ea017f054f03f361c903
|
| 3 |
+
size 296
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/input_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2da0a6f84430fb22cc7615d35a5faec930b0486f56e2c8dc475102a570ad95f
|
| 3 |
+
size 1373
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8ad9f15849fb6c316a5e6b250ff8956be958812fce537370c254ef7904634ac
|
| 3 |
+
size 11551400
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7052f989d690d11594a14d84e1e3e22add4f6ab542249e7d977cffc6e17c1106
|
| 3 |
+
size 14899
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:080d5d2cd0416a45d70034fe951613dee37784a2ced439e62b853db91646aacc
|
| 3 |
+
size 927
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c917ed7f47c54c403dfa230db875b5c46f81bb8a1ec5b09781f3946bfe183af
|
| 3 |
+
size 15750
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/run_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb7988187ada1949360520c9701fbb7f73eef35a7e2a3459dffed146487b5388
|
| 3 |
+
size 2363
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/runtime_result.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:89d796372d0c42b1d1d831483942d8c49774bca2148116417bb8f58936e07059
|
| 3 |
+
size 934
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/staged/forestdiffusion/adapter_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53974a88ddf95c82b9833c518493a1dd3f7485a87ef96d1f0e4ba5b780222efb
|
| 3 |
+
size 338
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/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/m12/forestdiffusion/forest-m12-20260511_124708/staged/forestdiffusion/model_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b92b9c68f2adbe7cf73a2b3f3d143bb17f05e6aaf0586f707091df6595d16631
|
| 3 |
+
size 15964
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:099d7c70b678c740a1bbb7c81aa4577744dd2a13bc1d6d4ab29781b2fe361808
|
| 3 |
+
size 3261
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5f493029a41815df91c3b28f521a2264951567318150110e5c27fa757ebc734
|
| 3 |
+
size 1694120
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e2f868c246063628371ded60d767d155528ace18d424271c7271617a8ef4643
|
| 3 |
+
size 13548268
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce173da72624b2b531e2d913ada1d29b77c0926be15b8d83a75911a1f5e36679
|
| 3 |
+
size 1694777
|
syntheticSuccess/m12/forestdiffusion/forest-m12-20260511_124708/train_20260511_124709.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f7154cd52d606c78b100d6af9af5881b8d12c57b35ae0356ed627efc96819ec
|
| 3 |
+
size 446
|