Add files using upload-large-folder tool
Browse files- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_fd_X_host.npy +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_fd_gen.py +8 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_fd_meta_host.json +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_fd_train.py +36 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/forest-n19-56000-20260511_134809.csv +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/gen_20260511_134809.log +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/input_snapshot.json +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/models_fd/model.joblib +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/public_gate/normalized_schema_snapshot.json +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/public_gate/public_gate_report.json +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/public_gate/staged_input_manifest.json +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/run_config.json +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/runtime_result.json +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/forestdiffusion/adapter_report.json +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/forestdiffusion/model_input_manifest.json +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/staged_features.json +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/test.csv +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/train.csv +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/val.csv +3 -0
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/train_20260511_134748.log +3 -0
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b2be6d7bd749b0f7f4deb0f6bd25533c607892ce1729b7280c90fb572948272
|
| 3 |
+
size 3215488
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_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/n19/forestdiffusion/forest-n19-20260511_134729/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(56000))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/n19/forestdiffusion/forest-n19-20260511_134729/forest-n19-56000-20260511_134809.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_fd_meta_host.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ed941a7d572ae1a9aaff25b9aa4d27e5d777d46e856816b8ea49723bc82375a
|
| 3 |
+
size 9502
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_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/n19/forestdiffusion/forest-n19-20260511_134729/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 12 |
+
with open(r'/work/output-Benchmark-trainonly-v1/n19/forestdiffusion/forest-n19-20260511_134729/_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/n19/forestdiffusion/forest-n19-20260511_134729/forestdiffusion_model.joblib')
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/forest-n19-56000-20260511_134809.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ede4e130e24f9fe598ff77c843b7890409b68a6339da5e4cc191d1d18fc41bd1
|
| 3 |
+
size 557864976
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f9b66866c4bce58f0946095271645cd9b4dfac704c952759dc15079e7702ac2
|
| 3 |
+
size 10315987
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/gen_20260511_134809.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8cbff1e29115fe4eedd9ca678e2956a8ca8bd5a93ac075aeaaaf9581c3bef4ee
|
| 3 |
+
size 296
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/input_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:999299a49937bc955ca5fe885d93deb6db0bd8e16fbf2091c2b0af7a2c944bd1
|
| 3 |
+
size 1378
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f9b66866c4bce58f0946095271645cd9b4dfac704c952759dc15079e7702ac2
|
| 3 |
+
size 10315987
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:751759bbfaa7742bc3c8bd530c3d29bba8b0e6598d2aba0500b6b981508c8305
|
| 3 |
+
size 358421
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ffe1d6021d4588b8dbe5ba851f27df47af01b13c2950f26ffb85d0f86fefd737
|
| 3 |
+
size 919
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:845eb34208a4a58ddc0c4dddc70f2da5b1d828dd769871973b50b74fa7d30e63
|
| 3 |
+
size 359272
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/run_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec4c85ee14e55381e19a9a99e312e20c479b2b162d3399f3d811b14209ad4bfc
|
| 3 |
+
size 2355
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/runtime_result.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d56aa96f2735525dd5c52b85ede182be6e17bc4405b09064673cd3b87ec4fd3
|
| 3 |
+
size 932
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/forestdiffusion/adapter_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e27c9c2abfe4f83b93e854b8063036bf67ad5adca12c546f9db3c2a35ce40808
|
| 3 |
+
size 338
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/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/n19/forestdiffusion/forest-n19-20260511_134729/staged/forestdiffusion/model_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:065cb857f82260dc9f329f23c1165fc52c9f181e229a9c697d94d7b22a108d63
|
| 3 |
+
size 359486
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:506ae856448fbec745984e35d6313eaa3f6fafb49fa3cf7fecf39c9629015f9f
|
| 3 |
+
size 74313
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71d7956b1019f9cdb46e50142bd5567f1efeaf7c9920aed5eb50c3f00da2c0d1
|
| 3 |
+
size 15509649
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5baa195712a9e23e71059aba544f9a7d1cb46594f7f6903469966f66dbcc9beb
|
| 3 |
+
size 124172425
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a7a9fca60ae4a3ab1e2ffa7930243061d516b3838f19276db27a5dba6fbd905
|
| 3 |
+
size 15543732
|
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/train_20260511_134748.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e7953a02162b18968a37a04eaf146ebe9d984ec323191e3c2d4f8ed49aae2dc
|
| 3 |
+
size 446
|